Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/gobyexample-cn/gobyexample
/ isDir
Function
isDir
tools/generate.go:38–41 ·
view source on GitHub ↗
(path string)
Source
from the content-addressed store, hash-verified
36
}
37
38
func
isDir(path string) bool {
39
fileStat, _ := os.Stat(path)
40
return
fileStat.IsDir()
41
}
42
43
func
ensureDir(dir string) {
44
err := os.MkdirAll(dir, 0755)
Callers
1
parseExamples
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected