Cache icon indicating copy to clipboard operation
Cache copied to clipboard

removeResourceObjects sortedFiles should return time1 < time2

Open ywz364kf opened this issue 2 years ago • 2 comments

let sortedFiles = objects.sorted { if let time1 = $0.resourceValues.contentModificationDate?.timeIntervalSinceReferenceDate, let time2 = $1.resourceValues.contentModificationDate?.timeIntervalSinceReferenceDate { return time1 > time2 } else { return false } } this will remove recent file, generally speaking should remove the file which older not the recent

ywz364kf avatar May 11 '22 10:05 ywz364kf

any update???

SymbolStar avatar Oct 13 '22 05:10 SymbolStar

@SymbolStar Hi, this project isn't actively supported and currently is 100% community driven, if you send us a PR with a fix I am happy to review it.

3lvis avatar Oct 14 '22 11:10 3lvis

Closing, reason outdated issue.

3lvis avatar Mar 26 '24 05:03 3lvis