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.

Put the comment on Git-tracked build folders back above its function

Țugui Dragoș5ffc4da03009
diff --git a/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift b/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift
index f0b3cebc..37a589c7 100644
--- a/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift
+++ b/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift
@@ -910,8 +910,6 @@ public enum ProjectArtifacts {
}
}
- /// Holds back each artifact Git tracks files in, which is part of the project rather than something a build makes
- /// again, and each in a repository whose index can't be read. What the walk saw inside comes first.
/// Holds back each artifact in `/Users/Shared`, which belongs to every account on the Mac, once nothing found
/// inside it says more.
static func holdingBackWhatIsShared(_ artifacts: [ProjectArtifact]) -> [ProjectArtifact] {
@@ -927,6 +925,8 @@ public enum ProjectArtifacts {
}
}
+ /// Holds back each artifact Git tracks files in, which is part of the project rather than something a build makes
+ /// again, and each in a repository whose index can't be read. What the walk saw inside comes first.
static func holdingBackWhatGitTracks(_ artifacts: [ProjectArtifact]) async -> [ProjectArtifact] {
var result = artifacts
var indexes: [GitIndex.Repository: GitIndex?] = [:]