io/fs.FileInfo.Mode (method)
8 uses
io/fs (current package)
format.go#L20: b = append(b, info.Mode().String()...)
fs.go#L160: Mode() FileMode // file mode bits
readdir.go#L62: return di.fileInfo.Mode().Type()
os
dir.go#L180: w, err := OpenFile(newPath, O_CREATE|O_EXCL|O_WRONLY, 0666|info.Mode()&0777)
file.go#L336: return Chmod(name, fi.Mode()|ModeSticky)
file_unix.go#L509: ude.typ = info.Mode().Type()
path/filepath
symlink.go#L90: if fi.Mode()&fs.ModeSymlink == 0 {
symlink.go#L91: if !fi.Mode().IsDir() && end < len(path) {
![]() |
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. |