Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetInlineData (0.06 sec)

  1. cmd/storage-datatypes.go

    	// would return true for InlineData() in these versions even though the
    	// object isn't inlined in xl.meta
    	return ok && !fi.IsRemote()
    }
    
    // SetInlineData marks object (version) as inline.
    func (fi *FileInfo) SetInlineData() {
    	if fi.Metadata == nil {
    		fi.Metadata = make(map[string]string, 1)
    	}
    	fi.Metadata[ReservedMetadataPrefixLower+"inline-data"] = "true"
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    				if len(inlineBuffers) > 0 && inlineBuffers[i] != nil {
    					partsMetadata[i].Data = inlineBuffers[i].Bytes()
    					partsMetadata[i].SetInlineData()
    				} else {
    					partsMetadata[i].Data = nil
    				}
    			}
    
    			// If all disks are having errors, we give up.
    			if disksToHealCount == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
Back to top