MCPcopy Index your code
hub / github.com/SignTools/SignTools / GetModTime

Method GetModTime

src/storage/upload.go:32–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (u *upload) GetModTime() (time.Time, error) {
33 stat, err := u.Stat(FSName(u.id))
34 if err != nil {
35 return time.Time{}, err
36 }
37 return stat.ModTime(), nil
38}
39
40func (u *upload) GetData() (ReadonlyFile, error) {
41 return u.GetFile(FSName(u.id))

Callers

nothing calls this directly

Calls 2

FSNameTypeAlias · 0.85
StatMethod · 0.65

Tested by

no test coverage detected