Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for EISDIR (0.08 sec)

  1. cmd/xl-storage-errors.go

    }
    
    // Input/output error
    func isSysErrIO(err error) bool {
    	return errors.Is(err, syscall.EIO)
    }
    
    // Check if the given error corresponds to EISDIR (is a directory).
    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)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. internal/lock/lock_solaris.go

    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    	}
    
    	return &LockedFile{f}, nil
    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. internal/lock/lock_nix.go

    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    	}
    
    	return &LockedFile{File: f}, nil
    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  4. internal/lock/lock_windows.go

    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    	}
    
    	return &LockedFile{File: f}, nil
    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    		return nil, time.Time{}, &os.PathError{
    			Op:   "open",
    			Path: itemPath,
    			Err:  syscall.EISDIR,
    		}
    	}
    	buf, err := readXLMetaNoData(f, stat.Size())
    	if err != nil {
    		return nil, stat.ModTime().UTC(), fmt.Errorf("%w -> %s", err, itemPath)
    	}
    	return buf, stat.ModTime().UTC(), err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg syscall (darwin-386), const EINTR = 4
    pkg syscall (darwin-386), const EINVAL = 22
    pkg syscall (darwin-386), const EIO = 5
    pkg syscall (darwin-386), const EISCONN = 56
    pkg syscall (darwin-386), const EISDIR = 21
    pkg syscall (darwin-386), const ELAST = 105
    pkg syscall (darwin-386), const ELOOP = 62
    pkg syscall (darwin-386), const EMFILE = 24
    pkg syscall (darwin-386), const EMLINK = 31
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
  7. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const EINVAL = 22
    pkg syscall (netbsd-arm64-cgo), const EIO = 5
    pkg syscall (netbsd-arm64-cgo), const EISCONN = 56
    pkg syscall (netbsd-arm64-cgo), const EISDIR = 21
    pkg syscall (netbsd-arm64-cgo), const ELAST = 96
    pkg syscall (netbsd-arm64-cgo), const ELAST Errno
    pkg syscall (netbsd-arm64-cgo), const ELOOP = 62
    pkg syscall (netbsd-arm64-cgo), const EMFILE = 24
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  8. api/go1.14.txt

    pkg syscall (freebsd-arm64), const EINTR = 4
    pkg syscall (freebsd-arm64), const EINVAL = 22
    pkg syscall (freebsd-arm64), const EIO = 5
    pkg syscall (freebsd-arm64), const EISCONN = 56
    pkg syscall (freebsd-arm64), const EISDIR = 21
    pkg syscall (freebsd-arm64), const ELAST = 96
    pkg syscall (freebsd-arm64), const ELAST Errno
    pkg syscall (freebsd-arm64), const ELOOP = 62
    pkg syscall (freebsd-arm64), const EMFILE = 24
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  9. api/go1.16.txt

    pkg syscall (darwin-arm64), const EINTR = 4
    pkg syscall (darwin-arm64), const EINVAL = 22
    pkg syscall (darwin-arm64), const EIO = 5
    pkg syscall (darwin-arm64), const EISCONN = 56
    pkg syscall (darwin-arm64), const EISDIR = 21
    pkg syscall (darwin-arm64), const ELAST = 106
    pkg syscall (darwin-arm64), const ELAST Errno
    pkg syscall (darwin-arm64), const ELOOP = 62
    pkg syscall (darwin-arm64), const EMFILE = 24
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  10. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const EINVAL = 22 #53466
    pkg syscall (freebsd-riscv64), const EIO = 5 #53466
    pkg syscall (freebsd-riscv64), const EISCONN = 56 #53466
    pkg syscall (freebsd-riscv64), const EISDIR = 21 #53466
    pkg syscall (freebsd-riscv64), const ELAST = 96 #53466
    pkg syscall (freebsd-riscv64), const ELAST Errno #53466
    pkg syscall (freebsd-riscv64), const ELOOP = 62 #53466
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top