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

Method RemoveCodeCompeleteTag

pkg/funclet/code/complete_tag.go:44–51  ·  view source on GitHub ↗

RemoveCodeCompeleteTag

(path, codeSha256 string)

Source from the content-addressed store, hash-verified

42
43// RemoveCodeCompeleteTag
44func (codeMgr *Manager) RemoveCodeCompeleteTag(path, codeSha256 string) error {
45 tagName := getCompleteTag(path, codeSha256)
46 err := os.Remove(tagName)
47 if err != nil {
48 return err
49 }
50 return nil
51}
52
53func getCompleteTag(path, codeSha256 string) string {
54 return filepath.Join(path, codeSha256+".COMPLETE")

Callers

nothing calls this directly

Calls 1

getCompleteTagFunction · 0.85

Tested by

no test coverage detected