Function compio_fs::rename

source ยท
pub async fn rename(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<()>
Expand description

Rename a file or directory to a new name, replacing the original file if to already exists.