mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Merge branch 'fix-rename-case-insensitive' of github.com:Xerxes-2/yazi into fix-rename-case-insensitive
This commit is contained in:
commit
54de589309
1 changed files with 1 additions and 0 deletions
|
|
@ -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> {
|
async fn canonicalize_without_resolving_itself(path: impl AsRef<Path>) -> Option<PathBuf> {
|
||||||
let meta = fs::symlink_metadata(&path).await.ok()?;
|
let meta = fs::symlink_metadata(&path).await.ok()?;
|
||||||
if meta.is_symlink() {
|
if meta.is_symlink() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue