- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ENOTDIR (0.07 sec)
-
cmd/xl-storage-errors.go
func isSysErrIsDir(err error) bool { return errors.Is(err, syscall.EISDIR) } // Check if the given error corresponds to ENOTDIR (is not a directory). func isSysErrNotDir(err error) bool { return errors.Is(err, syscall.ENOTDIR) } // Check if the given error corresponds to the ENAMETOOLONG (name too long). func isSysErrTooLong(err error) bool { return errors.Is(err, syscall.ENAMETOOLONG) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Mar 06 16:56:29 UTC 2023 - 3.8K bytes - Viewed (0) -
cmd/xl-storage-errors_test.go
ok := isSysErrTooLong(pathErr) if !ok { t.Fatalf("Unexpected error expecting %s", syscall.ENAMETOOLONG) } pathErr = &os.PathError{Err: syscall.ENOTDIR} ok = isSysErrNotDir(pathErr) if !ok { t.Fatalf("Unexpected error expecting %s", syscall.ENOTDIR) } if runtime.GOOS != globalWindowsOSName { pathErr = &os.PathError{Err: syscall.ENOTEMPTY} ok = isSysErrNotEmpty(pathErr) if !ok {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.7K bytes - Viewed (0) -
cmd/xl-storage_windows_test.go
err = fs.AppendFile(context.Background(), "voldir", "/file", []byte("hello")) if err != nil { t.Fatal(err) } // Try to create a file that includes a file in its path components. // In *nix, this returns syscall.ENOTDIR while in windows we receive the following error. err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello")) if err != errFileAccessDenied { t.Errorf("expected: %s, got: %s", errFileAccessDenied, err)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (darwin-386), const ENOSTR = 99 pkg syscall (darwin-386), const ENOSYS = 78 pkg syscall (darwin-386), const ENOTBLK = 15 pkg syscall (darwin-386), const ENOTCONN = 57 pkg syscall (darwin-386), const ENOTDIR = 20 pkg syscall (darwin-386), const ENOTEMPTY = 66 pkg syscall (darwin-386), const ENOTRECOVERABLE = 104 pkg syscall (darwin-386), const ENOTSOCK = 38 pkg syscall (darwin-386), const ENOTSUP = 45
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const ENOSYS = 78 pkg syscall (netbsd-arm64-cgo), const ENOTBLK = 15 pkg syscall (netbsd-arm64-cgo), const ENOTCONN = 57 pkg syscall (netbsd-arm64-cgo), const ENOTDIR = 20 pkg syscall (netbsd-arm64-cgo), const ENOTEMPTY = 66 pkg syscall (netbsd-arm64-cgo), const ENOTSOCK = 38 pkg syscall (netbsd-arm64-cgo), const ENOTSUP = 86 pkg syscall (netbsd-arm64-cgo), const ENOTTY = 25
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Aug 08 18:44:16 UTC 2019 - 452.6K bytes - Viewed (0) -
api/go1.14.txt
pkg syscall (freebsd-arm64), const ENOTCAPABLE = 93 pkg syscall (freebsd-arm64), const ENOTCAPABLE Errno pkg syscall (freebsd-arm64), const ENOTCONN = 57 pkg syscall (freebsd-arm64), const ENOTDIR = 20 pkg syscall (freebsd-arm64), const ENOTEMPTY = 66 pkg syscall (freebsd-arm64), const ENOTRECOVERABLE = 95 pkg syscall (freebsd-arm64), const ENOTRECOVERABLE Errno pkg syscall (freebsd-arm64), const ENOTSOCK = 38
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 508.9K bytes - Viewed (0) -
api/go1.16.txt
pkg syscall (darwin-arm64), const ENOSTR Errno pkg syscall (darwin-arm64), const ENOSYS = 78 pkg syscall (darwin-arm64), const ENOTBLK = 15 pkg syscall (darwin-arm64), const ENOTCONN = 57 pkg syscall (darwin-arm64), const ENOTDIR = 20 pkg syscall (darwin-arm64), const ENOTEMPTY = 66 pkg syscall (darwin-arm64), const ENOTRECOVERABLE = 104 pkg syscall (darwin-arm64), const ENOTRECOVERABLE Errno pkg syscall (darwin-arm64), const ENOTSOCK = 38
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0) -
api/go1.20.txt
pkg syscall (freebsd-riscv64), const ENOTCAPABLE = 93 #53466 pkg syscall (freebsd-riscv64), const ENOTCAPABLE Errno #53466 pkg syscall (freebsd-riscv64), const ENOTCONN = 57 #53466 pkg syscall (freebsd-riscv64), const ENOTDIR = 20 #53466 pkg syscall (freebsd-riscv64), const ENOTEMPTY = 66 #53466 pkg syscall (freebsd-riscv64), const ENOTRECOVERABLE = 95 #53466 pkg syscall (freebsd-riscv64), const ENOTRECOVERABLE Errno #53466
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 17 21:23:32 UTC 2023 - 602.6K bytes - Viewed (0) -
api/go1.txt
pkg syscall, const ENOPROTOOPT Errno pkg syscall, const ENOSPC Errno pkg syscall, const ENOSYS Errno pkg syscall, const ENOTBLK Errno pkg syscall, const ENOTCONN Errno pkg syscall, const ENOTDIR Errno pkg syscall, const ENOTEMPTY Errno pkg syscall, const ENOTSOCK Errno pkg syscall, const ENOTSUP Errno pkg syscall, const ENOTTY Errno pkg syscall, const ENXIO Errno
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)