Lines Matching refs:dirs
44 dirs: make(map[string]bool),
58 fs.dirs[dir] = true
61 fs.dirs[dir] = true
64 fs.dirs["."] = true
65 fs.dirs["/"] = true
71 for d := range fs.dirs {
98 …Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, dirs []string, err …
116 ListDirsRecursive(name string, follow ShouldFollowSymlinks) (dirs []string, err error)
197 func (fs *osFs) Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, dirs…
216 func (fs *osFs) ListDirsRecursive(name string, follow ShouldFollowSymlinks) (dirs []string, err err…
242 dirs map[string]bool member
298 if _, ok := m.dirs[name]; ok {
323 if _, ok := m.dirs[name]; ok {
340 if _, isDir := m.dirs[name]; isDir {
349 …pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, dirs []string, err error…
416 } else if _, isDir := m.dirs[name]; isDir {
438 if _, isDir := m.dirs[name]; isDir {
511 dirs := []string{name}
519 dirs = append(dirs, filepath.Join(name, d))
522 return dirs, nil
535 var dirs []string
545 dirs = append(dirs, f)
551 dirs = append(dirs, filepath.Join(f, s))
556 for i, d := range dirs {
561 dirs[i] = rel
564 return dirs, nil