io/fs.FileMode.IsDir (method)
6 uses
io/fs (current package)
fs.go#L240: func (m FileMode) IsDir() bool {
os
file_unix.go#L455: func (d *unixDirent) IsDir() bool { return d.typ.IsDir() }
root_openat.go#L148: if mode.IsDir() {
root_openat.go#L158: if e == nil && fi.Mode().IsDir() {
types.go#L61: func (fs *fileStat) IsDir() bool { return fs.Mode().IsDir() }
path/filepath
symlink.go#L91: if !fi.Mode().IsDir() && end < len(path) {
![]() |
The pages are generated with Golds v0.8.4. (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. |