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

Method GetModTime

src/storage/app.go:93–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93func (a *app) GetModTime() (time.Time, error) {
94 a.mu.RLock()
95 defer a.mu.RUnlock()
96 appDir, err := os.Stat(a.resolvePath(AppRoot))
97 if err != nil {
98 return time.Time{}, err
99 }
100 return appDir.ModTime(), nil
101}
102
103func (a *app) IsSigned() (bool, error) {
104 a.mu.RLock()

Callers

nothing calls this directly

Calls 1

StatMethod · 0.65

Tested by

no test coverage detected