archive/tar.FileInfoNames.IsDir (method)
31 uses
archive/tar (current package)
common.go#L662: case fi.IsDir():
go.pact.im/x/goship/internal/cli
root.go#L229: if info, err := os.Stat(candidate); err == nil && !info.IsDir() {
go/build
build.go#L148: return err == nil && fi.IsDir()
golang.org/x/mod/sumdb/dirhash
hash.go#L91: if info.IsDir() {
golang.org/x/mod/zip
zip.go#L319: if err := collisions.check(p, info.IsDir()); err != nil {
zip.go#L973: if info.IsDir() {
zip.go#L989: if goModInfo, err := os.Lstat(filepath.Join(filePath, "go.mod")); err == nil && !goModInfo.IsDir() {
golang.org/x/tools/internal/gcimporter
exportdata.go#L358: if statErr == nil && !f.IsDir() {
golang.org/x/tools/internal/gocommand
vendor.go#L70: if fi, err := os.Stat(filepath.Join(mainMod.Dir, "vendor")); err == nil && fi.IsDir() {
vendor.go#L123: if fi, err := os.Stat(filepath.Join(filepath.Dir(goWork), "vendor")); err == nil && fi.IsDir() {
internal/goroot
gc.go#L92: if fi, err := os.Stat(goDir); err == nil && fi.IsDir() {
gc.go#L95: if fi, err = os.Stat(goDir); err == nil && fi.IsDir() {
gc.go#L99: if fi, err := os.Stat(dir); err == nil && fi.IsDir() {
gc.go#L133: if fi, err := os.Stat(full); err == nil && !fi.IsDir() {
io/fs
format.go#L47: if info.IsDir() {
fs.go#L176: IsDir() bool // abbreviation for Mode().IsDir()
readdir.go#L58: return di.fileInfo.IsDir()
net/http
fs.go#L65: if !fi.IsDir() {
fs.go#L132: func (d fileInfoDirs) isDir(i int) bool { return d[i].IsDir() }
fs.go#L711: if d.IsDir() {
fs.go#L729: if d.IsDir() {
fs.go#L751: if d.IsDir() {
os
file_unix.go#L28: if err == nil && fi.IsDir() {
path.go#L23: if dir.IsDir() {
path.go#L60: if err1 == nil && dir.IsDir() {
root_openat.go#L260: if err == nil && fi.IsDir() {
path/filepath
match.go#L326: if !fi.IsDir() {
path.go#L345: if !info.IsDir() {
path.go#L372: if !fileInfo.IsDir() || err != SkipDir {
testing/fstest
testfs.go#L282: return fmt.Sprintf("%s IsDir=%v Type=%v", info.Name(), info.IsDir(), info.Mode().Type())
testfs.go#L287: return fmt.Sprintf("%s IsDir=%v Mode=%v Size=%d ModTime=%v", info.Name(), info.IsDir(), info.Mode(), info.Size(), info.ModTime())