mirror of
https://github.com/kopia/kopia.git
synced 2026-03-27 02:21:59 -04:00
* test MinContentAgeSubjectToGC * lint: move check for whether content is deleted to the caller to reduce gocycle complexity * nit: add new lines before return * log GC stats * fix(maintenance): use a fixed time for protecting newly created content Previously, the reference time used to determine whether a content had been recently created would change througout a snapshot GC execution. For long-running GC tasks, this non-deterministically shrinked the safety window specified in `MinContentAgeSubjectToGC`. Now, the snapshot GC starting time is used as a fix refererence for the safety check. * remove test entry point to avoid double execution of the test