io/fs.FileInfo.IsDir (method)
16 uses
io/fs (current package)
format.go#L47: if info.IsDir() {
fs.go#L156: IsDir() bool // abbreviation for Mode().IsDir()
readdir.go#L55: return di.fileInfo.IsDir()
walk.go#L135: func (d *statDirEntry) IsDir() bool { return d.info.IsDir() }
net/http
fs.go#L63: if !fi.IsDir() {
fs.go#L121: func (d fileInfoDirs) isDir(i int) bool { return d[i].IsDir() }
fs.go#L633: if d.IsDir() {
fs.go#L646: if d.IsDir() {
fs.go#L668: if d.IsDir() {
os
file_unix.go#L27: if err == nil && fi.IsDir() {
path.go#L22: if dir.IsDir() {
path.go#L53: if err1 == nil && dir.IsDir() {
path/filepath
match.go#L337: if !fi.IsDir() {
path.go#L476: if !info.IsDir() {
path.go#L503: if !fileInfo.IsDir() || err != SkipDir {
path.go#L545: func (d *statDirEntry) IsDir() bool { return d.info.IsDir() }
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |