Skip to main content

rename

Function rename 

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

Renames from to to, replacing to if it is a file.