Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for DeleteVersion (0.17 sec)

  1. cmd/xl-storage-format-v2_test.go

    	count := len(testCases)
    	for i := 4; i < len(testCases); i++ {
    		tc := testCases[i]
    		dataDir, err := xl.DeleteVersion(fileInfos[i])
    		failOnErr(count+1, err)
    		if dataDir != tc.expectedDataDir {
    			t.Fatalf("Expected %s but got %s", tc.expectedDataDir, dataDir)
    		}
    		count++
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    		return np, grid.NewRemoteErr(errDiskNotFound)
    	}
    	volume := p.Volume
    	filePath := p.FilePath
    	forceDelMarker := p.ForceDelMarker
    
    	opts := DeleteOptions{}
    	err := s.getStorage().DeleteVersion(context.Background(), volume, filePath, p.FI, forceDelMarker, opts)
    	return np, grid.NewRemoteErr(err)
    }
    
    // ReadVersionHandlerWS read metadata of versionID
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    			}
    			if err != errFileVersionNotFound {
    				t.Fatalf("Version %s should not exist, but returned: %#v", versions[i], fi)
    			}
    		}
    	}
    
    	// Delete version 0...
    	checkVerExist(t)
    	err = xl.DeleteVersion(ctx, volume, object, FileInfo{Name: object, Volume: volume, VersionID: versions[0]}, false, DeleteOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    	deleted[0] = true
    	checkVerExist(t)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top