MCPcopy Create free account
hub / github.com/devfeel/dottask / fileExists

Function fileExists

config.go:129–132  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

127}
128
129func fileExists(filename string) bool {
130 _, err := os.Stat(filename)
131 return err == nil || os.IsExist(err)
132}
133
134func getCurrentDirectory() string {
135 return filepath.Clean(filepath.Dir(os.Args[0])) + "/"

Callers 2

NewFileLoggerFunction · 0.85
lookupFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected