- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for ModeType (0.15 sec)
-
src/io/fs/fs.go
func (m FileMode) IsRegular() bool { return m&ModeType == 0 } // Perm returns the Unix permission bits in m (m & [ModePerm]). func (m FileMode) Perm() FileMode { return m & ModePerm } // Type returns type bits in m (m & [ModeType]). func (m FileMode) Type() FileMode { return m & ModeType } // PathError records an error and the operation and file path that caused it.
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/types.go
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 ) func (fs *fileStat) Name() string { return fs.name } func (fs *fileStat) IsDir() bool { return fs.Mode().IsDir() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/os_unix.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
pilot/pkg/config/monitor/file_snapshot.go
var result []*config.Config err := filepath.Walk(f.root, func(path string, info os.FileInfo, err error) error { if err != nil { return err } else if !supportedExtensions[filepath.Ext(path)] || (info.Mode()&os.ModeType) != 0 { return nil } data, err := os.ReadFile(path) if err != nil { log.Warnf("Failed to read %s: %v", path, err) return err } configs, err := parseInputs(data, f.domainSuffix)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 17:36:33 UTC 2024 - 3.6K bytes - Viewed (0) -
doc/godebug.md
mount points, which was a source of many inconsistencies and bugs. At previous versions (`winsymlink=0`), mount points are treated as symlinks, and other reparse points with non-default [`os.ModeType`](/pkg/os#ModeType) bits (such as [`os.ModeDir`](/pkg/os#ModeDir)) do not have the `ModeIrregular` bit set. Go 1.23 changed [`os.Readlink`](/pkg/os#Readlink) and [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 15.9K bytes - Viewed (0) -
api/except.txt
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) pkg os, func Mkdir(string, FileMode) error pkg os, func MkdirAll(string, FileMode) 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) -
src/os/types_windows.go
m |= ModeDevice | ModeCharDevice } if fs.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0 { if fs.ReparseTag == windows.IO_REPARSE_TAG_AF_UNIX { m |= ModeSocket } if m&ModeType == 0 { if fs.ReparseTag == windows.IO_REPARSE_TAG_DEDUP { // See comment in fs.Mode. } else { m |= ModeIrregular } } } return m }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 11.7K bytes - Viewed (0) -
api/go1.12.txt
pkg math/bits, func Sub64(uint64, uint64, uint64) (uint64, uint64) pkg net/http, const StatusTooEarly = 425 pkg net/http, const StatusTooEarly ideal-int pkg net/http, method (*Client) CloseIdleConnections() pkg os, const ModeType = 2401763328 pkg os, func UserHomeDir() (string, error) pkg os, method (*File) SyscallConn() (syscall.RawConn, error) pkg os, method (*ProcessState) ExitCode() int pkg os/exec, method (ExitError) ExitCode() int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 02 21:21:53 UTC 2019 - 13.5K bytes - Viewed (0) -
src/os/os_windows_test.go
} if tp := lfi.Mode().Type(); tp != fs.ModeIrregular { // A reparse point is not a regular file, but we don't have a more appropriate // ModeType bit for it, so it should be marked as irregular. t.Errorf("%q should not be a an irregular file (mode=0x%x)", pythonPath, uint32(tp)) } if sfi.Name() != pythonExeName {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0) -
api/go1.11.txt
pkg net/http/httputil, type ReverseProxy struct, ErrorHandler func(http.ResponseWriter, *http.Request, error) pkg os, const ModeIrregular = 524288 pkg os, const ModeIrregular FileMode pkg os, const ModeType = 2399666176 pkg os, func UserCacheDir() (string, error) pkg os/signal, func Ignored(os.Signal) bool pkg regexp/syntax, method (Op) String() string pkg runtime/trace, func IsEnabled() bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 22 03:48:56 UTC 2018 - 25K bytes - Viewed (0)