Doc for Store::save_as()

This commit is contained in:
Matthias Beyer 2017-02-20 16:04:54 +01:00
parent 671f19043d
commit 77d5fcc2d0
1 changed files with 2 additions and 0 deletions

View File

@ -769,6 +769,8 @@ impl Store {
/// Save an Entry in another place
/// Removes the original entry
/// Executes the post_move_aspects for the new id
///
/// TODO: Introduce new aspect for `save_as()`.
pub fn save_as(&self, entry: FileLockEntry, new_id: StoreId) -> Result<()> {
self.save_to_other_location(&entry, new_id, true)
}