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

Method ModTime

fs/object/object.go:254–256  ·  view source on GitHub ↗

ModTime returns the modification date of the file

(ctx context.Context)

Source from the content-addressed store, hash-verified

252
253// ModTime returns the modification date of the file
254func (o *MemoryObject) ModTime(ctx context.Context) time.Time {
255 return o.modTime
256}
257
258// Size returns the size of the file
259func (o *MemoryObject) Size() int64 {

Callers 1

TestMemoryObjectFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestMemoryObjectFunction · 0.76