Function obnth::rename[][src]

pub fn rename<P, R>(
    old_dir: &Dir,
    old_path: P,
    new_dir: &Dir,
    new_path: R,
    lookup_flags: LookupFlags
) -> Result<()> where
    P: AsPath,
    R: AsPath

Rename a file across directories.