MCPcopy
hub / github.com/syncthing/syncthing / ModTime

Method ModTime

lib/model/model_test.go:4170–4172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4168}
4169
4170func (fi modtimeTruncatingFileInfo) ModTime() time.Time {
4171 return fi.FileInfo.ModTime().Truncate(fi.trunc)
4172}
4173
4174func countIterator[T any](t *testing.T) func(it iter.Seq[T], errFn func() error) int {
4175 return func(it iter.Seq[T], errFn func() error) int {

Callers

nothing calls this directly

Calls 2

TruncateMethod · 0.65
ModTimeMethod · 0.65

Tested by

no test coverage detected