Function arceos_api::fs::ax_rename

source ·
pub fn ax_rename(old: &str, new: &str) -> AxResult
Available on crate feature fs only.
Expand description

Rename a file or directory to a new name.

It will delete the original file if old already exists.