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

Method Get

src/storage/app_resolver.go:54–62  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

52}
53
54func (r *appResolver) Get(id string) (App, bool) {
55 r.mutex.Lock()
56 defer r.mutex.Unlock()
57 app, ok := r.idToAppMap[id]
58 if !ok {
59 return nil, false
60 }
61 return app, true
62}
63
64func (r *appResolver) New(unsignedFile io.Reader, name string, profile Profile, signArgs string, userBundleId string, builderId string, tweakMap map[string]io.Reader) (App, error) {
65 app, err := createApp(unsignedFile, name, profile, signArgs, userBundleId, builderId, tweakMap)

Callers 12

TestAuthenticationNoneFunction · 0.45
uploadSignedAppFunction · 0.45
appResolverFunction · 0.45
getBaseUrlFunction · 0.45
getUnsignedAppJobFunction · 0.45
uploadUnsignedAppFunction · 0.45
writeArchiveMethod · 0.45
GetStatusByAppIdMethod · 0.45
getProjectIdMethod · 0.45
WaitForServerFunction · 0.45
getPublicUrlMethod · 0.45
getPublicUrlMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestAuthenticationNoneFunction · 0.36