io/fs.FileInfo.IsDir (method)
14 uses
io/fs (current package)
format.go#L47: if info.IsDir() {
fs.go#L162: IsDir() bool // abbreviation for Mode().IsDir()
readdir.go#L58: return di.fileInfo.IsDir()
net/http
fs.go#L63: if !fi.IsDir() {
fs.go#L125: func (d fileInfoDirs) isDir(i int) bool { return d[i].IsDir() }
fs.go#L704: if d.IsDir() {
fs.go#L722: if d.IsDir() {
fs.go#L744: 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() {
path/filepath
match.go#L338: if !fi.IsDir() {
path.go#L344: if !info.IsDir() {
path.go#L371: if !fileInfo.IsDir() || err != SkipDir {
![]() |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |