Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isSysErrPathNotFound (0.33 sec)

  1. cmd/os-reliable.go

    	}
    
    	if err = reliableRemoveAll(dirPath); err != nil {
    		switch {
    		case isSysErrNotDir(err):
    			// File path cannot be verified since one of
    			// the parents is a file.
    			return errFileAccessDenied
    		case isSysErrPathNotFound(err):
    			// This is a special case should be handled only for
    			// windows, because windows API does not return "not a
    			// directory" error message. Handle this specifically
    			// here.
    			return errFileAccessDenied
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/os_unix.go

    			if err != nil {
    				// It got deleted in the meantime, not found
    				// or returns too many symlinks ignore this
    				// file/directory.
    				if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    					isSysErrTooManySymlinks(err) {
    					continue
    				}
    				return err
    			}
    
    			// Ignore symlinked directories.
    			if typ&os.ModeSymlink == os.ModeSymlink && fi.IsDir() {
    				continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. cmd/storage-errors.go

    	if osIsNotExist(err) {
    		return errFileNotFound
    	}
    	if osIsPermission(err) {
    		return errFileAccessDenied
    	}
    	if isSysErrNotDir(err) || isSysErrIsDir(err) {
    		return errFileNotFound
    	}
    	if isSysErrPathNotFound(err) {
    		return errFileNotFound
    	}
    	if isSysErrTooManyFiles(err) {
    		return errTooManyOpenFiles
    	}
    	if isSysErrHandleInvalid(err) {
    		return errFileNotFound
    	}
    	if isSysErrIO(err) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    			globalSync()
    		}
    	}()
    
    	if err = Rename(srcFilePath, dstFilePath); err != nil {
    		switch {
    		case isSysErrNotDir(err):
    			return errFileNotFound
    		case isSysErrPathNotFound(err):
    			return errFileNotFound
    		case isSysErrCrossDevice(err):
    			return fmt.Errorf("%w (%s)->(%s)", errCrossDeviceLink, srcFilePath, dstFilePath)
    		case osIsNotExist(err):
    			return errFileNotFound
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top