MCPcopy
hub / github.com/uber-go/zap / fileExists

Function fileExists

writer_test.go:261–266  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

259}
260
261func fileExists(name string) bool {
262 if _, err := os.Stat(name); os.IsNotExist(err) {
263 return false
264 }
265 return true
266}

Callers 2

TestOpenFunction · 0.85
TestOpenRelativePathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected