Fix symlinks issue (#680)
This commit is contained in:
parent
3292bd3652
commit
1d6785511a
1 changed files with 1 additions and 0 deletions
|
|
@ -172,6 +172,7 @@ public final class PasswordEntity: NSManagedObject, Identifiable {
|
|||
continue
|
||||
}
|
||||
for case let fileURL as URL in directoryEnumerator {
|
||||
let fileURL = fileURL.resolvingSymlinksInPath()
|
||||
guard let resourceValues = try? fileURL.resourceValues(forKeys: resourceKeys),
|
||||
let isDirectory = resourceValues.isDirectory,
|
||||
let name = resourceValues.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue