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
import Foundation
@testable import PeelPrivileged
import Testing
struct DriveFlushTests {
@Test func flushesAFileThisMacWrote() throws {
let directory = try TemporaryDirectory()
let file = try directory.file("written")
#expect(DriveFlush.file(at: file.path(percentEncoded: false)))
#expect(!DriveFlush.file(at: directory.url.appending(path: "missing").path(percentEncoded: false)))
}
}