Function axfs::api::rename

source ·
pub fn rename(old: &str, new: &str) -> Result<()>
Expand description

Rename a file or directory to a new name. Delete the original file if old already exists.

This only works then the new path is in the same mounted fs.