MCPcopy Create free account
hub / github.com/MG-RAST/Shock / Remove

Method Remove

shock-server/node/file/file.go:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (formfile *FormFile) Remove() {
33 if _, err := os.Stat(formfile.Path); err == nil {
34 os.Remove(formfile.Path)
35 }
36 return
37}
38
39func RemoveAllFormFiles(formfiles FormFiles) {
40 for _, formfile := range formfiles {

Callers 10

uploadPartsMethod · 0.45
AsyncIndexerFunction · 0.45
CreateNodesFromArchiveFunction · 0.45
DeleteMethod · 0.45
DeleteIndexMethod · 0.45
SetAttributesMethod · 0.45
UpdateMethod · 0.45
SaveMethod · 0.45
SetFileFromPartsFunction · 0.45
RemoveAllFormFilesFunction · 0.45

Calls 1

StatMethod · 0.65

Tested by

no test coverage detected