MCPcopy
hub / github.com/gobyexample-cn/gobyexample / check

Function check

tools/generate.go:32–36  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

30}
31
32func check(err error) {
33 if err != nil {
34 panic(err)
35 }
36}
37
38func isDir(path string) bool {
39 fileStat, _ := os.Stat(path)

Callers 9

ensureDirFunction · 0.70
copyFileFunction · 0.70
mustReadFileFunction · 0.70
mustGlobFunction · 0.70
resetURLHashFileFunction · 0.70
chromaFormatFunction · 0.70
renderIndexFunction · 0.70
renderExamplesFunction · 0.70
render404Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected