type os.FileMode
21 uses
os (current package)
dirent_linux.go#L28: func direntType(buf []byte) FileMode {
dirent_linux.go#L31: return ^FileMode(0) // unknown
dirent_linux.go#L50: return ^FileMode(0) // unknown
file.go#L307: func Mkdir(name string, perm FileMode) error {
file.go#L383: func OpenFile(name string, flag int, perm FileMode) (*File, error) {
file.go#L613: func Chmod(name string, mode FileMode) error { return chmod(name, mode) }
file.go#L617: func (f *File) Chmod(mode FileMode) error { return f.chmod(mode) }
file.go#L830: func WriteFile(name string, data []byte, perm FileMode) error {
file_posix.go#L60: func syscallMode(i FileMode) (o uint32) {
file_posix.go#L76: func chmod(name string, mode FileMode) error {
file_posix.go#L88: func (f *File) chmod(mode FileMode) error {
file_unix.go#L264: func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
file_unix.go#L475: typ FileMode
file_unix.go#L481: func (d *unixDirent) Type() FileMode { return d.typ }
file_unix.go#L494: func newUnixDirent(parent, name string, typ FileMode) (DirEntry, error) {
file_unix.go#L500: if typ != ^FileMode(0) && !testingForceReadDirLstat {
path.go#L19: func MkdirAll(path string, perm FileMode) error {
stat_linux.go#L17: fs.mode = FileMode(fs.sys.Mode & 0777)
types.go#L30: type FileMode = fs.FileMode
types_unix.go#L18: mode FileMode
types_unix.go#L24: func (fs *fileStat) Mode() FileMode { return fs.mode }
 |
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. |