diff --git a/libimagstore/src/hook/mod.rs b/libimagstore/src/hook/mod.rs index ac8c7c89..6a9bb357 100644 --- a/libimagstore/src/hook/mod.rs +++ b/libimagstore/src/hook/mod.rs @@ -8,6 +8,7 @@ use store::FileLockEntry; pub mod accessor; pub mod aspect; pub mod error; +pub mod position; pub mod result; use hook::accessor::HookDataAccessorProvider; diff --git a/libimagstore/src/hook/position.rs b/libimagstore/src/hook/position.rs new file mode 100644 index 00000000..be289818 --- /dev/null +++ b/libimagstore/src/hook/position.rs @@ -0,0 +1,13 @@ +#[derive(Debug)] +pub enum HookPosition { + PreRead, + PostRead, + PreCreate, + PostCreate, + PreRetrieve, + PostRetrieve, + PreUpdate, + PostUpdate, + PreDelete, + PostDelete, +}