- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ModeIrregular (0.2 sec)
-
doc/next/6-stdlib/99-minor/os/61893.md
On Windows, the mode bits reported by [Lstat] and [Stat] for reparse points changed. Mount points no longer have [ModeSymlink] set, and reparse points that are not symlinks, Unix sockets, or dedup files now always have [ModeIrregular] set. This behavior is controlled by the `winsymlink` setting. For Go 1.23, it defaults to `winsymlink=1`.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 20:57:18 UTC 2024 - 386 bytes - Viewed (0) -
src/os/types.go
ModeSetgid = fs.ModeSetgid // g: setgid ModeCharDevice = fs.ModeCharDevice // c: Unix character device, when ModeDevice is set ModeSticky = fs.ModeSticky // t: sticky ModeIrregular = fs.ModeIrregular // ?: non-regular file; nothing else is known about this file // Mask for the type bits. For regular files, none will be set. ModeType = fs.ModeType ModePerm = fs.ModePerm // Unix permission bits, 0o777
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/types_windows.go
// // Go programs may use ModeIrregular to filter out unusual files (such as // raw device files on Linux, POSIX FIFO special files, and so on), so // to avoid files changing unpredictably from regular to irregular we will // consider DEDUP files to be close enough to regular to treat as such. default: m |= ModeIrregular } } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 11.7K bytes - Viewed (0) -
src/os/stat_solaris.go
case syscall.S_IFLNK: fs.mode |= ModeSymlink case syscall.S_IFREG: // nothing to do case syscall.S_IFSOCK: fs.mode |= ModeSocket case _S_IFNAM, _S_IFDOOR, _S_IFPORT: fs.mode |= ModeIrregular } if fs.sys.Mode&syscall.S_ISGID != 0 { fs.mode |= ModeSetgid } if fs.sys.Mode&syscall.S_ISUID != 0 { fs.mode |= ModeSetuid } if fs.sys.Mode&syscall.S_ISVTX != 0 { fs.mode |= ModeSticky }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.3K bytes - Viewed (0) -
src/io/fs/fs.go
ModeSticky // t: sticky ModeIrregular // ?: non-regular file; nothing else is known about this file // Mask for the type bits. For regular files, none will be set. ModeType = ModeDir | ModeSymlink | ModeNamedPipe | ModeSocket | ModeDevice | ModeCharDevice | ModeIrregular ModePerm FileMode = 0777 // Unix permission bits )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 15 21:21:41 UTC 2024 - 9.4K bytes - Viewed (0) -
doc/godebug.md
As of Go 1.23 (`winsymlink=1`), mount points no longer have [`os.ModeSymlink`](/pkg/os#ModeSymlink) set, and reparse points that are not symlinks, Unix sockets, or dedup files now always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set. As a result of these changes, [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer evaluates mount points, which was a source of many inconsistencies and bugs.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 15.9K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys.go
// for the fileInfo methods other than Name, set to the file's name, and Mode // set to ModeIrregular. type missingFile string func (f missingFile) Name() string { return string(f) } func (f missingFile) Size() int64 { return 0 } func (f missingFile) Mode() fs.FileMode { return fs.ModeIrregular } func (f missingFile) ModTime() time.Time { return time.Unix(0, 0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:35:34 UTC 2024 - 22.7K bytes - Viewed (0) -
src/os/os_windows_test.go
continue } var wantType fs.FileMode if test.isMountPoint && winsymlink.Value() != "0" { // Mount points are reparse points, and we no longer treat them as symlinks. wantType = fs.ModeIrregular } else { // This is either a real symlink, or a mount point treated as a symlink. wantType = fs.ModeSymlink } if tp := fi2.Mode().Type(); tp != wantType {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Glob", Func, 16}, {"GlobFS", Type, 16}, {"ModeAppend", Const, 16}, {"ModeCharDevice", Const, 16}, {"ModeDevice", Const, 16}, {"ModeDir", Const, 16}, {"ModeExclusive", Const, 16}, {"ModeIrregular", Const, 16}, {"ModeNamedPipe", Const, 16}, {"ModePerm", Const, 16}, {"ModeSetgid", Const, 16}, {"ModeSetuid", Const, 16}, {"ModeSocket", Const, 16}, {"ModeSticky", Const, 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)