pub fn rename(req: &FsRenameReq) -> Result<FsRenameResult, String>Expand description
fs.rename: a new name in the same folder. Never overwrites; a
case-only rename goes through a temporary name, because on a
case-insensitive filesystem the new name already “exists” (it is the
file itself) and some filesystems ignore a direct case-only rename
(spec §7.4).