MCPcopy Create free account
hub / github.com/DAddYE/igo / ParseDir

Function ParseDir

parser/interface.go:131–165  ·  view source on GitHub ↗

ParseDir calls ParseFile for all files with names ending in ".go" in the directory specified by path and returns a map of package name -> package AST with all the packages found. If filter != nil, only the files with os.FileInfo entries passing through the filter (and ending in ".go") are considere

(fset *token.FileSet, path string, filter func(os.FileInfo) bool, mode Mode)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

ParseFileFunction · 0.85
NameMethod · 0.80

Tested by

no test coverage detected