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

Function newProfile

src/storage/profile.go:38–42  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

36}
37
38func newProfile(id string) *profile {
39 return &profile{id: id, FileSystemBase: FileSystemBase{resolvePath: func(name FSName) string {
40 return util.SafeJoinFilePaths(profilesPath, id, string(name))
41 }}}
42}
43
44func loadProfile(id string) (*profile, error) {
45 p := newProfile(id)

Callers 1

loadProfileFunction · 0.85

Calls 1

SafeJoinFilePathsFunction · 0.92

Tested by

no test coverage detected