type os.FileMode
22 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#L262: func Mkdir(name string, perm FileMode) error {
file.go#L336: func OpenFile(name string, flag int, perm FileMode) (*File, error) {
file.go#L539: func Chmod(name string, mode FileMode) error { return chmod(name, mode) }
file.go#L543: func (f *File) Chmod(mode FileMode) error { return f.chmod(mode) }
file.go#L713: func WriteFile(name string, data []byte, perm FileMode) error {
file_posix.go#L62: func syscallMode(i FileMode) (o uint32) {
file_posix.go#L78: func chmod(name string, mode FileMode) error {
file_posix.go#L90: func (f *File) chmod(mode FileMode) error {
file_unix.go#L205: func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
file_unix.go#L397: typ FileMode
file_unix.go#L403: func (d *unixDirent) Type() FileMode { return d.typ }
file_unix.go#L412: func newUnixDirent(parent, name string, typ FileMode) (DirEntry, error) {
file_unix.go#L418: if typ != ^FileMode(0) && !testingForceReadDirLstat {
path.go#L18: func MkdirAll(path string, perm FileMode) error {
stat_linux.go#L16: fs.mode = FileMode(fs.sys.Mode & 0777)
types.go#L28: type FileMode = fs.FileMode
types_unix.go#L18: mode FileMode
types_unix.go#L24: func (fs *fileStat) Mode() FileMode { return fs.mode }
go.uber.org/zap
sink.go#L61: openFile func(string, int, os.FileMode) (*os.File, error) // type matches os.OpenFile