Merge branch 'fix-rename-case-insensitive' of github.com:Xerxes-2/yazi into fix-rename-case-insensitive

This commit is contained in:
Xerxes-2 2024-06-23 16:35:43 +10:00
commit 54de589309

View file

@ -35,6 +35,7 @@ pub async fn are_paths_equal(old: impl AsRef<Path>, new: impl AsRef<Path>) -> bo
}
}
#[inline]
async fn canonicalize_without_resolving_itself(path: impl AsRef<Path>) -> Option<PathBuf> {
let meta = fs::symlink_metadata(&path).await.ok()?;
if meta.is_symlink() {