summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/changeSet.h
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/service/changeSet.h')
-rw-r--r--gentoobrowse-api/service/changeSet.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/gentoobrowse-api/service/changeSet.h b/gentoobrowse-api/service/changeSet.h
new file mode 100644
index 0000000..321de4e
--- /dev/null
+++ b/gentoobrowse-api/service/changeSet.h
@@ -0,0 +1,20 @@
+#ifndef CHANGESET_H
+#define CHANGESET_H
+
+#include <git2/diff.h>
+#include <portage-models.h>
+#include <boost/filesystem/path.hpp>
+#include <map>
+
+namespace Gentoo {
+ namespace Service {
+ struct ChangeDetails {
+ StringList pathParts;
+ git_delta_t changeType;
+ };
+ typedef std::map<boost::filesystem::path, ChangeDetails> ChangeSet;
+ }
+}
+
+#endif
+