Add enum to represent store action
This commit is contained in:
parent
24e747029c
commit
d03b13be10
1 changed files with 8 additions and 0 deletions
8
libimagstorestdhook/src/vcs/git/action.rs
Normal file
8
libimagstorestdhook/src/vcs/git/action.rs
Normal file
|
@ -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.
|
||||||
|
}
|
Loading…
Reference in a new issue