- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ModeTemporary (0.27 sec)
-
src/os/types.go
// used by the String method's formatting. ModeDir = fs.ModeDir // d: is a directory ModeAppend = fs.ModeAppend // a: append-only ModeExclusive = fs.ModeExclusive // l: exclusive use ModeTemporary = fs.ModeTemporary // T: temporary file; Plan 9 only ModeSymlink = fs.ModeSymlink // L: symbolic link ModeDevice = fs.ModeDevice // D: device file ModeNamedPipe = fs.ModeNamedPipe // p: named pipe (FIFO)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.9K bytes - Viewed (0) -
src/os/file_posix.go
o |= uint32(i.Perm()) if i&ModeSetuid != 0 { o |= syscall.S_ISUID } if i&ModeSetgid != 0 { o |= syscall.S_ISGID } if i&ModeSticky != 0 { o |= syscall.S_ISVTX } // No mapping for Go's ModeTemporary (plan9 only). return } // See docs in file.go:Chmod. func chmod(name string, mode FileMode) error { longName := fixLongPath(name) e := ignoringEINTR(func() error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 7.1K bytes - Viewed (0) -
src/os/file_plan9.go
func syscallMode(i FileMode) (o uint32) { o |= uint32(i.Perm()) if i&ModeAppend != 0 { o |= syscall.DMAPPEND } if i&ModeExclusive != 0 { o |= syscall.DMEXCL } if i&ModeTemporary != 0 { o |= syscall.DMTMP } return } // openFileNolog is the Plan 9 implementation of OpenFile. func openFileNolog(name string, flag int, perm FileMode) (*File, error) { var ( fd int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:35:30 UTC 2024 - 16K bytes - Viewed (0) -
src/os/file.go
// and earlier, use a non-zero mode. Use mode 0400 for a read-only // file and 0600 for a readable+writable file. // // On Plan 9, the mode's permission bits, ModeAppend, ModeExclusive, // and ModeTemporary are used. func Chmod(name string, mode FileMode) error { return chmod(name, mode) } // Chmod changes the mode of the file to mode. // If there is an error, it will be of type *PathError.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:37 UTC 2024 - 25.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"ModePerm", Const, 16}, {"ModeSetgid", Const, 16}, {"ModeSetuid", Const, 16}, {"ModeSocket", Const, 16}, {"ModeSticky", Const, 16}, {"ModeSymlink", Const, 16}, {"ModeTemporary", Const, 16}, {"ModeType", Const, 16}, {"PathError", Type, 16}, {"PathError.Err", Field, 16}, {"PathError.Op", Field, 16}, {"PathError.Path", Field, 16}, {"ReadDir", Func, 16},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)