Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Cut a comment that says again what the one under it says

Țugui Dragoșf00b8e18f86b
diff --git a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
index 2fff9470..36783fbf 100644
--- a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
+++ b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
@@ -332,8 +332,6 @@ public enum ProtectedData: Sendable {
case notKnown
}
- /// The names in `folder`, none for a path that is not there or is no folder, and nil for a folder macOS would
- /// not let this process list.
static func names(in folder: String, followingLinks: Bool) -> [String]? {
listing(folder, followingLinks: followingLinks) { try FileManager.default.contentsOfDirectory(atPath: $0) }
}