mirror of
https://github.com/kopia/kopia.git
synced 2026-01-09 15:07:49 -05:00
Rename faketime.AutoAdvance parameter to start for clarity Clarify faketime.ClockTimeWithOffset.Advance documentation Refactor `faketime.TimeAdvance`: Add `faketime.NewAutoAdvance` to create auto-advancing `TimeAdvance` clocks. Refactor faketime.NewTimeAdvance to return non-auto-advancing clocks, which can still be explicitly advanced. Removes the now unused `autoDelta` parameter, since it is always 0. Rename function to `sm.setupCachesAndIndexManagers` It matches the current implementation better. Unexport `indexblob.ManagerV1.epochMgr` Rename function for clarity to `advanceEpochMarker` Cleanup logs after cleaning up epoch manager. This is consistent with quick maintenance as well. Make 'def' a test-local variable instead of a package-level variable, it is not used outside this test. Cleanup epoch test newTestEnv() Misc: * Reword comment and fix typo * Fix log message * `log.Debug` for non-formatted output