diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 4af7f1e4..bf649b1b 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -1,5 +1,7 @@ use std::path::PathBuf; use std::result::Result as RResult; +use std::sync::Arc; +use std::sync::RWLock; pub use entry::Entry; pub use error::StoreError; @@ -16,11 +18,11 @@ impl Store { unimplemented!() } - pub fn read(path: PathBuf) -> Result { + pub fn read(path: PathBuf) -> Result>> { unimplemented!() } - pub fn update(entry: Entry) -> Result<()> { + pub fn update(entry: Arc>) -> Result<()> { unimplemented!() }