Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/perkeep/perkeep
/ dirExists
Function
dirExists
pkg/client/android/androidx.go:69–72 ·
view source on GitHub ↗
(f string)
Source
from the content-addressed store, hash-verified
67
var
onAndroidCache bool
68
69
func
dirExists(f string) bool {
70
fi, err := os.Stat(f)
71
return
err == nil && fi.IsDir()
72
}
73
74
func
initOnAndroid() {
75
// Good enough heuristic. Suggestions welcome.
Callers
1
initOnAndroid
Function · 0.85
Calls
2
Stat
Method · 0.65
IsDir
Method · 0.65
Tested by
no test coverage detected