io/fs.FileMode.IsDir (method)
10 uses
io/fs (current package)
fs.go#L222: func (m FileMode) IsDir() bool {
archive/zip
struct.go#L157: func (fi headerFileInfo) IsDir() bool { return fi.Mode().IsDir() }
github.com/evanw/esbuild/internal/fs
filepath.go#L234: if !fi.Mode().IsDir() && end < len(path) {
github.com/go-git/go-git/v5/plumbing/filemode
filemode.go#L89: if m.IsDir() {
github.com/prometheus/procfs
vm.go#L86: if !file.Mode().IsDir() {
golang.org/x/pkgsite/internal/fetch
package.go#L109: if f.Mode().IsDir() {
os
file_unix.go#L399: func (d *unixDirent) IsDir() bool { return d.typ.IsDir() }
types.go#L59: func (fs *fileStat) IsDir() bool { return fs.Mode().IsDir() }
os/exec
lp_unix.go#L25: if m := d.Mode(); !m.IsDir() && m&0111 != 0 {
path/filepath
symlink.go#L90: if !fi.Mode().IsDir() && end < len(path) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |