Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasEC (0.02 sec)

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

    	return ok
    }
    
    func (x xlMetaV2VersionHeader) matchesEC(o xlMetaV2VersionHeader) bool {
    	if x.hasEC() && o.hasEC() {
    		return x.EcN == o.EcN && x.EcM == o.EcM
    	} // if no EC header this is an older object
    	return true
    }
    
    // hasEC will return true if the version has erasure coding information.
    func (x xlMetaV2VersionHeader) hasEC() bool {
    	return x.EcM > 0 && x.EcN > 0
    }
    
    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