type os.FileMode
34 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#L327: func Mkdir(name string, perm FileMode) error {
file.go#L410: func OpenFile(name string, flag int, perm FileMode) (*File, error) {
file.go#L644: func Chmod(name string, mode FileMode) error { return chmod(name, mode) }
file.go#L648: func (f *File) Chmod(mode FileMode) error { return f.chmod(mode) }
file.go#L932: 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#L246: func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
file_unix.go#L450: typ FileMode
file_unix.go#L456: func (d *unixDirent) Type() FileMode { return d.typ }
file_unix.go#L469: func newUnixDirent(parent *File, name string, typ FileMode) (DirEntry, error) {
file_unix.go#L478: if typ != ^FileMode(0) && !parent.inRoot {
path.go#L19: func MkdirAll(path string, perm FileMode) error {
root.go#L117: func (r *Root) OpenFile(name string, flag int, perm FileMode) (*File, error) {
root.go#L139: func (r *Root) Chmod(name string, mode FileMode) error {
root.go#L149: func (r *Root) Mkdir(name string, perm FileMode) error {
root.go#L161: func (r *Root) MkdirAll(name string, perm FileMode) error {
root.go#L264: func (r *Root) WriteFile(name string, data []byte, perm FileMode) error {
root_openat.go#L68: func rootChmod(r *Root, name string, mode FileMode) error {
root_openat.go#L108: func rootMkdir(r *Root, name string, perm FileMode) error {
root_openat.go#L118: func rootMkdirAll(r *Root, fullname string, perm FileMode) error {
root_unix.go#L82: func rootOpenFileNolog(root *Root, name string, flag int, perm FileMode) (*File, error) {
root_unix.go#L177: func chmodat(parent int, name string, mode FileMode) error {
root_unix.go#L208: func mkdirat(fd int, name string, perm FileMode) error {
root_unix.go#L260: func modeAt(parent int, name string) (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 }
github.com/gotd/td/session
storage_mem.go#L41: func (s *StorageMemory) WriteFile(name string, perm os.FileMode) error {
 |
The pages are generated with Golds v0.8.4. (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. |