mirror of
https://github.com/exituser/Pearcleaner.git
synced 2026-09-17 13:09:00 +00:00
v3.3.1
This commit is contained in:
@@ -59,9 +59,11 @@ class ReversePathsSearcher {
|
||||
private func processItem(_ itemName: String, itemURL: URL, allPaths: [String], allNames: [String]) {
|
||||
let formattedItemName = itemName.pearFormat()
|
||||
let itemPath = itemURL.path.pearFormat()
|
||||
let itemLastPathComponent = itemURL.lastPathComponent.pearFormat()
|
||||
|
||||
guard !skipped.contains(where: { formattedItemName.contains($0) }),
|
||||
!allPaths.contains(itemPath),
|
||||
// !allPaths.contains(itemPath),
|
||||
!allPaths.contains(where: { $0 == itemPath || $0.hasSuffix("/\(itemLastPathComponent)") }),
|
||||
!allNames.contains(formattedItemName),
|
||||
isSupportedFileType(at: itemURL.path) else {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user