io/fs.FileInfo.Mode (method)
9 uses
io/fs (current package)
format.go#L20: b = append(b, info.Mode().String()...)
fs.go#L154: Mode() FileMode // file mode bits
readdir.go#L59: return di.fileInfo.Mode().Type()
walk.go#L136: func (d *statDirEntry) Type() FileMode { return d.info.Mode().Type() }
os
file.go#L290: return Chmod(name, fi.Mode()|ModeSticky)
file_unix.go#L494: ude.typ = info.Mode().Type()
path/filepath
path.go#L546: func (d *statDirEntry) Type() fs.FileMode { return d.info.Mode().Type() }
symlink.go#L89: if fi.Mode()&fs.ModeSymlink == 0 {
symlink.go#L90: if !fi.Mode().IsDir() && end < len(path) {
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. |