Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for errVolumeNotFound (0.07 seconds)

  1. cmd/xl-storage_test.go

    		// Expecting to fail with `errVolumeNotFound`.
    		{
    			srcVol:      "src-vol-non-existent",
    			destVol:     "dest-vol",
    			srcPath:     "file4",
    			destPath:    "new-path/",
    			expectedErr: errVolumeNotFound,
    		},
    		// TestXLStorage case - 11.
    		// TestXLStorage case with non-existent destination volume.
    		// Expecting to fail with `errVolumeNotFound`.
    		{
    			srcVol:      "src-vol",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  2. cmd/xl-storage.go

    	} else {
    		err = Remove(volumeDir)
    	}
    
    	if err != nil {
    		switch {
    		case errors.Is(err, errFileNotFound):
    			return errVolumeNotFound
    		case osIsNotExist(err):
    			return errVolumeNotFound
    		case isSysErrNotEmpty(err):
    			return errVolumeNotEmpty
    		case osIsPermission(err):
    			return errDiskAccessDenied
    		case isSysErrIO(err):
    			return errFaultyDisk
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
Back to Top