MCPcopy Create free account
hub / github.com/diskfs/go-diskfs / ModTime

Method ModTime

sync/copy_test.go:155–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153func (f *fakeFile) Size() int64 { return int64(f.buf.Len()) }
154func (f *fakeFile) Mode() os.FileMode { return 0 }
155func (f *fakeFile) ModTime() time.Time { return f.fs.times[f.path] }
156func (f *fakeFile) IsDir() bool { return false }
157func (f *fakeFile) Sys() interface{} { return nil }
158

Callers 1

copyOneFileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected