MCPcopy Create free account
hub / github.com/dim-an/cod / cleanFile

Function cleanFile

daemon.go:75–81  ·  view source on GitHub ↗
(file string)

Source from the content-addressed store, hash-verified

73}
74
75func cleanFile(file string) (err error) {
76 err = os.Remove(file)
77 if os.IsNotExist(err) {
78 err = nil
79 }
80 return
81}
82
83func daemonProc(configuration server.Configuration, pidToNotify int) {
84 err := os.Chdir("/")

Callers 1

daemonProcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected