Function rustix::fs::rename

source ·
pub fn rename<P: Arg, Q: Arg>(old_path: P, new_path: Q) -> Result<()>
Expand description

rename(old_path, new_path)—Renames a file or directory.

§References