Doc for Store::save_as()

This commit is contained in:
Matthias Beyer 2017-02-20 16:04:54 +01:00
parent 671f19043d
commit 77d5fcc2d0

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)
}