MCPcopy Index your code
hub / github.com/rclone/rclone / ModTime

Method ModTime

backend/cache/object.go:137–140  ·  view source on GitHub ↗

ModTime returns the cached ModTime

(ctx context.Context)

Source from the content-addressed store, hash-verified

135
136// ModTime returns the cached ModTime
137func (o *Object) ModTime(ctx context.Context) time.Time {
138 _ = o.refresh(ctx)
139 return time.Unix(0, o.CacheModTime)
140}
141
142// Size returns the cached Size
143func (o *Object) Size() int64 {

Callers 2

modTimeMethod · 0.95

Calls 1

refreshMethod · 0.95

Tested by 2

modTimeMethod · 0.76