Searched refs:IsDir (Results 1 – 14 of 14) sorted by relevance
63 IsDir(name string) (bool, error) methodSpec73 return true, stat.IsDir(), nil81 func (osFs) IsDir(name string) (bool, error) { func86 return info.IsDir(), nil132 func (m *mockFs) IsDir(name string) (bool, error) { func
120 if isDir, err := fs.IsDir(m); err != nil {176 if info.Mode().IsDir() {
110 func (fi headerFileInfo) IsDir() bool { return fi.Mode().IsDir() } func
160 if fileInfo.IsDir() {
132 if stat.IsDir() {
140 case dir.IsDir():
152 case dir.IsDir():
211 if info.IsDir() {
248 case dir.IsDir():
94 if info.IsDir() {
270 } else if m := s.Mode(); !s.IsDir() && m&0111 != 0 {
420 if !mode.IsDir() {851 if ent.mode.IsDir() {
414 } else if s.IsDir() {
155 if fi.IsDir() || strings.HasSuffix(name, "_test.go") || name[0] == '.' || name[0] == '_' {