From 602bdd9762479e40101afa6c1547d577256abd7a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 20 Feb 2017 16:05:17 +0100 Subject: [PATCH] Doc for Store::execute_hooks_for_mut_file() --- libimagstore/src/store.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index a347d07b..e90750ad 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -1005,6 +1005,12 @@ impl Store { } /// Execute all hooks from all aspects for a mutable `FileLockEntry` object. + /// + /// # Return value + /// + /// - () on success + /// - Error on the first failing hook. + /// fn execute_hooks_for_mut_file(&self, aspects: Arc>>, fle: &mut FileLockEntry)