MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / GetUserCodePath

Method GetUserCodePath

pkg/funclet/warmup.go:177–179  ·  view source on GitHub ↗

GetUserCodePath

(codeSha256 string)

Source from the content-addressed store, hash-verified

175
176// GetUserCodePath
177func (f *Funclet) GetUserCodePath(codeSha256 string) string {
178 return filepath.Join(f.Options.CachePath, codeSha256)
179}
180
181func (f *Funclet) prepareUserCode(ctx *funcletCtx.Context, code *api.CodeStorage, codeSha256, hexCodeSha256 string) (string, error) {
182 destination := f.GetUserCodePath(hexCodeSha256)

Callers 3

WarmUpMethod · 0.95
prepareUserCodeMethod · 0.95
IDEWarmUpMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected