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
Duplicates has a test for node_modules inside a compared folder
Țugui Dragoș58a3306b71b9
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/FolderDuplicateTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/FolderDuplicateTests.swiftindex 465c2cc7..81fd864d 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/FolderDuplicateTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/FolderDuplicateTests.swift@@ -131,6 +131,17 @@ struct FolderDuplicateTests {#expect(try await scan(directory).folderGroups.isEmpty)}+ @Test func leavesAloneAFolderHoldingNodeModules() async throws {+ let directory = try TemporaryDirectory()+ let contents = randomData(count: 2_000)+ for folder in ["home/Documents/Web", "home/Pictures/Web"] {+ try directory.file("\(folder)/report.pdf", contents: contents)+ try directory.file("\(folder)/node_modules/package/index.js", contents: contents)+ }++ #expect(try await scan(directory).folderGroups.isEmpty)+ }+/// Folders holding a project are left to Build Artifacts, unless the projects themselves were chosen. A stray/// build file in Desktop or another folder every account starts with does not make that folder a project.@Test func leavesAloneAFolderHoldingAProject() async throws {