Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CheckParts (0.06 sec)

  1. cmd/storage-rest-client.go

    		DiskID:   *client.diskID.Load(),
    		Volume:   volume,
    		FilePath: path,
    		Buf:      b,
    	})
    	return toStorageErr(err)
    }
    
    // CheckParts - stat all file parts.
    func (client *storageRESTClient) CheckParts(ctx context.Context, volume string, path string, fi FileInfo) (*CheckPartsResp, error) {
    	var resp *CheckPartsResp
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. cmd/erasure-metadata-utils.go

    func shufflePartsMetadata(partsMetadata []FileInfo, distribution []int) []FileInfo {
    	return shuffleWithDist[FileInfo](partsMetadata, distribution)
    }
    
    // shuffleCheckParts - shuffle CheckParts slice depending on the
    // erasure distribution.
    func shuffleCheckParts(parts []int, distribution []int) []int {
    	return shuffleWithDist[int](parts, distribution)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	}
    	// Check if shard is truncated.
    	if st.Size() < expectedSize {
    		resp = checkPartFileCorrupt
    		return
    	}
    	return checkPartSuccess
    }
    
    // CheckParts check if path has necessary parts available.
    func (s *xlStorage) CheckParts(ctx context.Context, volume string, path string, fi FileInfo) (*CheckPartsResp, error) {
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top