summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/maintenance/updatesProcessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/service/maintenance/updatesProcessor.h')
-rw-r--r--gentoobrowse-api/service/maintenance/updatesProcessor.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/gentoobrowse-api/service/maintenance/updatesProcessor.h b/gentoobrowse-api/service/maintenance/updatesProcessor.h
index 06dc0f2..fa7a390 100644
--- a/gentoobrowse-api/service/maintenance/updatesProcessor.h
+++ b/gentoobrowse-api/service/maintenance/updatesProcessor.h
@@ -3,32 +3,32 @@
#include "abstractFileProcessor.h"
#include <connection.h>
-#include <modifycommand.h>
#include <filesystem>
+#include <modifycommand.h>
namespace Gentoo {
namespace Service {
class UpdatesPatch;
class UpdatesProcessor : public AbstractFileProcessor {
- public:
- unsigned char phase() const override;
- unsigned char order() const override;
- bool match(const PathParts & pp) const override;
-
- void created(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn, const std::filesystem::path & path) override;
- void modified(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn, const std::filesystem::path & path) override;
- void deleted(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn) override;
-
- void prepare(DB::Connection * dbc) override;
- void apply(DB::Connection * dbc, ChangeSet &) override;
- void tidy(DB::Connection * dbc) override;
-
- private:
- UpdatesPatch * up;
+ public:
+ unsigned char phase() const override;
+ unsigned char order() const override;
+ bool match(const PathParts & pp) const override;
+
+ void created(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn,
+ const std::filesystem::path & path) override;
+ void modified(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn,
+ const std::filesystem::path & path) override;
+ void deleted(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn) override;
+
+ void prepare(DB::Connection * dbc) override;
+ void apply(DB::Connection * dbc, ChangeSet &) override;
+ void tidy(DB::Connection * dbc) override;
+
+ private:
+ UpdatesPatch * up;
};
}
}
#endif
-
-