- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for ModeTemporary (0.4 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/stat_plan9.go
fs.mode |= ModeDir } if d.Mode&syscall.DMAPPEND != 0 { fs.mode |= ModeAppend } if d.Mode&syscall.DMEXCL != 0 { fs.mode |= ModeExclusive } if d.Mode&syscall.DMTMP != 0 { fs.mode |= ModeTemporary } // Consider all files not served by #M as device files. if d.Type != 'M' { fs.mode |= ModeDevice } // Consider all files served by #c as character device files. if d.Type == 'c' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 2.4K bytes - Viewed (0) -
pkg/volume/metrics_du_test.go
if a := actual.Available.Value(); a <= 0 { t.Errorf("Expected Available %d to be greater than 0.", a) } // Write a file and expect Used to increase os.WriteFile(filepath.Join(tmpDir, "f1"), []byte("Hello World"), os.ModeTemporary) actual, err = metrics.GetMetrics() if err != nil { t.Errorf("Unexpected error when calling GetMetrics %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 3.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/io/fs/fs.go
ModeDir FileMode = 1 << (32 - 1 - iota) // d: is a directory ModeAppend // a: append-only ModeExclusive // l: exclusive use ModeTemporary // T: temporary file; Plan 9 only ModeSymlink // L: symbolic link ModeDevice // D: device file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 15 21:21:41 UTC 2024 - 9.4K 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) -
api/except.txt
pkg os, const ModePerm FileMode pkg os, const ModeSetgid FileMode pkg os, const ModeSetuid FileMode pkg os, const ModeSocket FileMode pkg os, const ModeSticky FileMode pkg os, const ModeSymlink FileMode pkg os, const ModeTemporary FileMode pkg os, const ModeType = 2399141888 pkg os, const ModeType = 2399666176 pkg os, const ModeType FileMode pkg os, func Chmod(string, FileMode) error pkg os, func Lstat(string) (FileInfo, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:13:30 UTC 2023 - 34.6K bytes - Viewed (0) -
api/go1.16.txt
pkg io/fs, const ModeSticky = 1048576 pkg io/fs, const ModeSticky FileMode pkg io/fs, const ModeSymlink = 134217728 pkg io/fs, const ModeSymlink FileMode pkg io/fs, const ModeTemporary = 268435456 pkg io/fs, const ModeTemporary FileMode pkg io/fs, const ModeType = 2401763328 pkg io/fs, const ModeType FileMode pkg io/fs, func Glob(FS, string) ([]string, error) pkg io/fs, func ReadDir(FS, string) ([]DirEntry, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K 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)