Function libpijul::fs::move_file[][src]

pub fn move_file<T: TreeMutTxnT>(
    txn: &mut T,
    origin: &str,
    destination: &str,
    salt: u64
) -> Result<(), FsError<T::TreeError>>
Expand description

Move an inode (file or directory) from origin to destination, (in the working copy).

Warning: both origin and destination must be full paths to the inode being moved (unlike e.g. in the mv Unix command).