Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/xl-storage-errors_test.go

    	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 {
    			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")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  2. cmd/xl-storage-errors.go

    func isSysErrTooManySymlinks(err error) bool {
    	return errors.Is(err, syscall.ELOOP)
    }
    
    // Check if the given error corresponds to ENOTEMPTY for unix,
    // EEXIST for solaris variants,
    // and ERROR_DIR_NOT_EMPTY for windows (directory not empty).
    func isSysErrNotEmpty(err error) bool {
    	if errors.Is(err, syscall.ENOTEMPTY) {
    		return true
    	}
    	if errors.Is(err, syscall.EEXIST) && runtime.GOOS == "solaris" {
    		return true
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. cmd/os-reliable.go

    			// directory" error message. Handle this specifically
    			// here.
    			return errFileAccessDenied
    		}
    	}
    	return err
    }
    
    // Reliably retries os.RemoveAll if for some reason os.RemoveAll returns
    // syscall.ENOTEMPTY (children has files).
    func reliableRemoveAll(dirPath string) (err error) {
    	i := 0
    	for {
    		// Removes all the directories and files.
    		if err = RemoveAll(dirPath); err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  4. api/go1.1.txt

    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
    pkg syscall (darwin-386), const ENOTTY = 25
    Plain Text
    - Registered: Tue Apr 23 11:13:09 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 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
    pkg syscall (netbsd-arm64-cgo), const ENXIO = 6
    Plain Text
    - Registered: Tue Apr 23 11:13:09 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 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
    pkg syscall (darwin-arm64), const ENOTSUP = 45
    Plain Text
    - Registered: Tue Apr 23 11:13:09 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 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
    pkg syscall (freebsd-riscv64), const ENOTSOCK = 38 #53466
    Plain Text
    - Registered: Tue Apr 23 11:13:09 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 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
    pkg syscall (freebsd-arm64), const ENOTSUP = 45
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  9. api/go1.txt

    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
    pkg syscall, const EOPNOTSUPP Errno
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top