MCPcopy Create free account
hub / github.com/SignTools/SignTools / newApp

Function newApp

src/storage/app.go:75–79  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

73}
74
75func newApp(id string) *app {
76 return &app{id: id, FileSystemBase: FileSystemBase{resolvePath: func(name FSName) string {
77 return util.SafeJoinFilePaths(appsPath, id, string(name))
78 }}}
79}
80
81type app struct {
82 mu sync.RWMutex

Callers 2

loadAppFunction · 0.85
createAppFunction · 0.85

Calls 1

SafeJoinFilePathsFunction · 0.92

Tested by

no test coverage detected