- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for bfsWalkRoot (0.11 sec)
-
src/cmd/doc/dirs.go
// walk walks the trees in GOROOT and GOPATH. func (d *Dirs) walk(roots []Dir) { for _, root := range roots { d.bfsWalkRoot(root) } close(d.scan) } // bfsWalkRoot walks a single directory hierarchy in breadth-first lexical order. // Each Go source directory it finds is delivered on d.scan. func (d *Dirs) bfsWalkRoot(root Dir) { root.dir = filepath.Clean(root.dir) // because filepath.Join will do it anyway
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 17:49:12 UTC 2022 - 9K bytes - Viewed (0)