- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for PathError (0.13 seconds)
-
api/except.txt
pkg os, type FileInfo interface, Size() int64 pkg os, type FileInfo interface, Sys() interface{} pkg os, type FileMode uint32 pkg os, type PathError struct pkg os, type PathError struct, Err error pkg os, type PathError struct, Op string pkg os, type PathError struct, Path string pkg syscall (darwin-amd64), const ImplementsGetwd = false pkg syscall (darwin-amd64), func Fchflags(string, int) error
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 22 21:16:03 GMT 2026 - 34.8K bytes - Click Count (0) -
cmd/xl-storage-errors_test.go
pathErr = &os.PathError{Err: syscall.ENOTEMPTY} ok = isSysErrNotEmpty(pathErr) if !ok { t.Fatalf("Unexpected error expecting %s", syscall.ENOTEMPTY) } } else { pathErr = &os.PathError{Err: syscall.Errno(0x91)} ok = isSysErrNotEmpty(pathErr) if !ok { t.Fatal("Unexpected error expecting 0x91") } } if runtime.GOOS == globalWindowsOSName { pathErr = &os.PathError{Err: syscall.Errno(0x03)}Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.7K bytes - Click Count (0) -
cmd/xl-storage-errors.go
func isSysErrPathNotFound(err error) bool { if runtime.GOOS != globalWindowsOSName { var pathErr *os.PathError if errors.As(err, &pathErr) { return pathErr.Err == syscall.ENOENT } return false } var pathErr *os.PathError if errors.As(err, &pathErr) { var errno syscall.Errno if errors.As(pathErr.Err, &errno) { // ERROR_PATH_NOT_FOUND return errno == 0x03
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Mar 06 16:56:29 GMT 2023 - 3.8K bytes - Click Count (0) -
cmd/os_windows.go
for ; ; err = syscall.FindNextFile(handle, data) { if err != nil { if err == syscall.ERROR_NO_MORE_FILES { break } if isSysErrPathNotFound(err) { return nil } err = osErrToFileErr(&os.PathError{ Op: "FindNextFile", Path: dirPath, Err: err, }) if err == errFileNotFound { return nil } return err } name := syscall.UTF16ToString(data.FileName[0:])
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5K bytes - Click Count (0) -
internal/lock/lock_solaris.go
fallthrough case syscall.O_RDWR: fallthrough case syscall.O_WRONLY | syscall.O_CREAT: fallthrough case syscall.O_RDWR | syscall.O_CREAT: lockType = syscall.F_WRLCK default: return nil, &os.PathError{ Op: "open", Path: path, Err: syscall.EINVAL, } } lock := syscall.Flock_t{ Start: 0, Len: 0, Pid: 0, Type: lockType, Whence: 0, }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 2.8K bytes - Click Count (0) -
internal/lock/lock_nix.go
fallthrough case syscall.O_RDWR: fallthrough case syscall.O_WRONLY | syscall.O_CREAT: fallthrough case syscall.O_RDWR | syscall.O_CREAT: lockType |= syscall.LOCK_EX default: return nil, &os.PathError{ Op: "open", Path: path, Err: syscall.EINVAL, } } f, err := os.OpenFile(path, flag|syscall.O_SYNC, perm) if err != nil { return nil, err }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 2.8K bytes - Click Count (0) -
api/go1.10.txt
pkg os, func IsTimeout(error) bool pkg os, method (*File) SetDeadline(time.Time) error pkg os, method (*File) SetReadDeadline(time.Time) error pkg os, method (*File) SetWriteDeadline(time.Time) error pkg os, method (*PathError) Timeout() bool pkg os, method (*SyscallError) Timeout() bool pkg os, var ErrNoDeadline error pkg strings, method (*Builder) Grow(int) pkg strings, method (*Builder) Len() int pkg strings, method (*Builder) Reset()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 06 05:00:01 GMT 2018 - 30.1K bytes - Click Count (0) -
cmd/os_unix.go
"strings" "syscall" "unsafe" "github.com/minio/minio/internal/bpool" "golang.org/x/sys/unix" ) func access(name string) error { if err := unix.Access(name, unix.F_OK); err != nil { return &os.PathError{Op: "lstat", Path: name, Err: err} } return nil } // openFileWithFD return 'fd' based file descriptor func openFileWithFD(name string, flag int, perm os.FileMode) (fd int, err error) { switch flag & writeMode {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0) -
src/archive/zip/reader.go
// leading / or ../ elements. func (r *Reader) Open(name string) (fs.File, error) { r.initFileList() if !fs.ValidPath(name) { return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrInvalid} } e := r.openLookup(name) if e == nil { return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist} } if e.isDir { return &openDir{e, r.openReadDir(name), 0}, nil } rc, err := e.file.Open()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 28.5K bytes - Click Count (0) -
cmd/storage-errors.go
// Collection of basic errors. var baseErrs = []error{ errDiskNotFound, errFaultyDisk, errFaultyRemoteDisk, } var baseIgnoredErrs = baseErrs // Is a one place function which converts all os.PathError // into a more FS object layer friendly form, converts // known errors into their typed form for top level // interpretation. func osErrToFileErr(err error) error { if err == nil { return nil }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 6.4K bytes - Click Count (0)