Files
kopia/repo/content
Julio Lopez 261911a37e refactor(general): cleanup clock bounds check (#4720)
Set storage time relative to local time in test

Sets the storage time based on the base time (bmTime) for clarity,
using `Add(maxClockSkew + time.Nanosecond)`.
This avoids using `time.Date` with `int(maxClockSkew)` as the
minute value, which may be confusing.

Add: maybeCheckClockSkewBounds helper. This simplifies
both the flow inside the helper itself and the caller.
Use `strconv.ParseBool` to simplify `maybeCheckClockSkewBounds`

Add test for maybeCheckClockSkewBounds

Update wrapped error message to provide context about the operation.
2025-07-15 18:23:33 -07:00
..
2025-06-10 17:24:14 -07:00
2025-06-10 17:24:14 -07:00