Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ok1s (0.03 sec)

  1. cmd/storage-datatypes.go

    	}
    	return fi.Erasure.DataBlocks
    }
    
    // Equals checks if fi(FileInfo) matches ofi(FileInfo)
    func (fi FileInfo) Equals(ofi FileInfo) (ok bool) {
    	typ1, ok1 := crypto.IsEncrypted(fi.Metadata)
    	typ2, ok2 := crypto.IsEncrypted(ofi.Metadata)
    	if ok1 != ok2 {
    		return false
    	}
    	if typ1 != typ2 {
    		return false
    	}
    	if fi.IsCompressed() != ofi.IsCompressed() {
    		return false
    	}
    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/xl-storage-format-v2.go

    			// load (and convert) version.
    			version, err := x.getIdx(i)
    			if err == nil {
    				// Only reindex if set.
    				_, ok1 := version.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp]
    				_, ok2 := version.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp]
    				if ok1 || ok2 {
    					meta, err := version.MarshalMsg(make([]byte, 0, len(ver.meta)+10))
    					if err == nil {
    						// Override both if fine.
    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