Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ENOTDIR (0.23 sec)

  1. 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 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  2. 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)
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. 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)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. 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
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  5. 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
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  6. 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
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  7. 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
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  8. 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
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  9. 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
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top