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

Method CreateCodeCompeleteTag

pkg/funclet/code/complete_tag.go:34–41  ·  view source on GitHub ↗

CreateCodeCompeleteTag

(path, codeSha256 string)

Source from the content-addressed store, hash-verified

32
33// CreateCodeCompeleteTag
34func (codeMgr *Manager) CreateCodeCompeleteTag(path, codeSha256 string) error {
35 tagName := getCompleteTag(path, codeSha256)
36 _, err := os.Create(tagName)
37 if err != nil {
38 return err
39 }
40 return nil
41}
42
43// RemoveCodeCompeleteTag
44func (codeMgr *Manager) RemoveCodeCompeleteTag(path, codeSha256 string) error {

Callers

nothing calls this directly

Calls 2

getCompleteTagFunction · 0.85
CreateMethod · 0.65

Tested by

no test coverage detected