logo
pub fn rename(
    old_start: &File,
    old_path: &Path,
    new_start: &File,
    new_path: &Path
) -> Result<()>
Expand description

Perform a renameat-like operation, ensuring that the resolution of both the old and new paths never escape the directory tree rooted at their respective starts.