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

pub fn move_file<T: MutTxnT>(
    txn: &mut T,
    origin: &str,
    destination: &str
) -> Result<(), Error>

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