Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isSysErrPathNotFound (0.18 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/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)
  3. 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