Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bfsWalkRoot (0.09 sec)

  1. 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)
Back to top