Doc for Store::execute_hooks_for_mut_file()

This commit is contained in:
Matthias Beyer 2017-02-20 16:05:17 +01:00
parent 0c3cea692f
commit 602bdd9762

View file

@ -1005,6 +1005,12 @@ impl Store {
} }
/// Execute all hooks from all aspects for a mutable `FileLockEntry` object. /// 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, fn execute_hooks_for_mut_file(&self,
aspects: Arc<Mutex<Vec<Aspect>>>, aspects: Arc<Mutex<Vec<Aspect>>>,
fle: &mut FileLockEntry) fle: &mut FileLockEntry)