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

Method CheckCode

pkg/funclet/code/manager.go:37–37  ·  view source on GitHub ↗
(ctx *context.Context, filename, codeSha256 string)

Source from the content-addressed store, hash-verified

35type ManagerInterface interface {
36 FetchCode(ctx *context.Context, code *api.CodeStorage) (string, error)
37 CheckCode(ctx *context.Context, filename, codeSha256 string) bool
38 FindCodeCompeleteTag(path, codeSha256 string) bool
39 CreateCodeCompeleteTag(path, codeSha256 string) error
40 RemoveCodeCompeleteTag(path, codeSha256 string) error

Callers 1

prepareUserCodeMethod · 0.65

Implementers 1

Managerpkg/funclet/code/manager.go

Calls

no outgoing calls

Tested by

no test coverage detected