Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Name a folder Build Artifacts couldn't search when another couldn't be read
Țugui Dragoș1743ae494635
diff --git a/Peel/Views/Projects/ProjectList.swift b/Peel/Views/Projects/ProjectList.swiftindex 37625050..55c81bee 100644--- a/Peel/Views/Projects/ProjectList.swift+++ b/Peel/Views/Projects/ProjectList.swift@@ -72,6 +72,7 @@ struct ProjectList: View {Label("Not Everything Could Be Read", systemImage: "exclamationmark.triangle")} description: {Text("No build output was found, but macOS kept Peel out of a folder you chose. Give Peel Full Disk Access to look there too.")+ unsearchableReasons} actions: {Button("Open System Settings") { home.openFullDiskAccessSettings() }}@@ -80,12 +81,13 @@ struct ProjectList: View {Label("Not Everything Could Be Read", systemImage: "exclamationmark.triangle")} description: {Text("Peel couldn’t look inside \(projects.unreadable.map(\.abbreviatedPath).formatted(.list(type: .and))), so something may be there that isn’t listed here.")+ unsearchableReasons}} else if projects.groups?.isEmpty == true, !projects.unsearchable.isEmpty {ContentUnavailableView {Label("Not Everything Could Be Searched", systemImage: "exclamationmark.triangle")} description: {- Text(verbatim: Self.reasons(projects.unsearchable))+ unsearchableReasons}} else if projects.groups?.isEmpty == true {ContentUnavailableView(@@ -167,6 +169,12 @@ struct ProjectList: View {.rescanOnExclusionChange("ProjectList") { await projects.refresh() }}+ @ViewBuilder private var unsearchableReasons: some View {+ if !projects.unsearchable.isEmpty {+ Text(verbatim: Self.reasons(projects.unsearchable))+ }+ }+private static func reasons(_ folders: [(url: URL, reason: ProjectArtifacts.Refusal)]) -> String {folders.map { "\($0.url.abbreviatedPath)\n\($0.reason.explanation)" }.joined(separator: "\n\n")}