MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / ModTime

Method ModTime

application/statics/embed.go:234–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

232func (f *file) Name() string { _, elem, _ := split(f.name); return elem }
233func (f *file) Size() int64 { return int64(len(f.data)) }
234func (f *file) ModTime() time.Time { return f.modTime }
235func (f *file) IsDir() bool { _, _, isDir := split(f.name); return isDir }
236func (f *file) Sys() any { return nil }
237func (f *file) Type() fs.FileMode { return f.Mode().Type() }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected