Fix symlink directories in file explorer (#14028)

pull/13888/head^2
Alexander Meinhardt Scheurer-Volkmann 2025-07-21 18:10:06 +00:00 committed by GitHub
parent f75a26cb9b
commit b01fbb4a22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ fn directory_content(path: &Path) -> Result<Vec<(PathBuf, bool)>, std::io::Error
.map(|entry| {
(
entry.path(),
entry.file_type().is_ok_and(|file_type| file_type.is_dir()),
std::fs::metadata(entry.path()).is_ok_and(|metadata| metadata.is_dir()),
)
})
.collect();