Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
261
func
fileExists(name string) bool {
262
if
_, err := os.Stat(name); os.IsNotExist(err) {
263
return
false
264
}
265
return
true
266
}
Callers
2
TestOpen
Function · 0.85
TestOpenRelativePath
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected