From d03b13be1083a167c2e4bd9ae809db04031e3c5b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 15 May 2016 00:47:26 +0200 Subject: [PATCH] Add enum to represent store action --- libimagstorestdhook/src/vcs/git/action.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libimagstorestdhook/src/vcs/git/action.rs diff --git a/libimagstorestdhook/src/vcs/git/action.rs b/libimagstorestdhook/src/vcs/git/action.rs new file mode 100644 index 00000000..45cbf0da --- /dev/null +++ b/libimagstorestdhook/src/vcs/git/action.rs @@ -0,0 +1,8 @@ +pub enum StoreAction { + Create, + Retrieve, + Update, + Delete, + + // "Read" doesn't matter, as we do not use git on read actions, only when altering content. +}