Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for inclFreeVers (0.08 sec)

  1. cmd/xl-storage-free-version_test.go

    		vol          string
    		name         string
    		inclFreeVers bool
    		afterFn      func(fi FileInfo) (string, error)
    		expectedFree bool
    		expectedErr  error
    	}{
    		// ToFileInfo with 'inclFreeVers = true' should return the latest
    		// non-free version if one is present
    		{
    			vol:          newtierfi.Volume,
    			name:         newtierfi.Name,
    			inclFreeVers: true,
    			afterFn:      xl.DeleteVersion,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	}
    
    	return m, nil
    }
    
    func fileInfoFromRaw(ri RawFileInfo, bucket, object string, readData, inclFreeVers bool) (FileInfo, error) {
    	return getFileInfo(ri.Buf, bucket, object, "", fileInfoOpts{
    		Data:             readData,
    		InclFreeVersions: inclFreeVers,
    	})
    }
    
    func readAllRawFileInfo(ctx context.Context, disks []StorageAPI, bucket, object string, readData bool) ([]RawFileInfo, []error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    }
    
    // ToFileInfo converts xlMetaV2 into a common FileInfo datastructure
    // for consumption across callers.
    func (x xlMetaV2) ToFileInfo(volume, path, versionID string, inclFreeVers, allParts bool) (fi FileInfo, err error) {
    	var uv uuid.UUID
    	if versionID != "" && versionID != nullVersionID {
    		uv, err = uuid.Parse(versionID)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top