MCPcopy 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
38func isDir(path string) bool {
39 fileStat, _ := os.Stat(path)
40 return fileStat.IsDir()
41}
42
43func ensureDir(dir string) {
44 err := os.MkdirAll(dir, 0755)

Callers 1

parseExamplesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected