MCPcopy
hub / github.com/rclone/rclone / ModTime

Method ModTime

fstest/mockobject/mockobject.go:49–51  ·  view source on GitHub ↗

ModTime returns the modification date of the file It should return a best guess if one isn't available

(ctx context.Context)

Source from the content-addressed store, hash-verified

47// ModTime returns the modification date of the file
48// It should return a best guess if one isn't available
49func (o Object) ModTime(ctx context.Context) (t time.Time) {
50 return t
51}
52
53// Size returns the size of the file
54func (o Object) Size() int64 { return 0 }

Callers 1

RunFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected