- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TransitionInfoEquals (0.29 sec)
-
cmd/erasure-metadata_test.go
} if i&(1<<1) != 0 { ofi.TransitionedObjName = inputs[1].remoteObjName } if i&(1<<2) != 0 { ofi.TransitionVersionID = inputs[1].remoteVersionID } actual := fi.TransitionInfoEquals(ofi) if i == 0 && !actual { t.Fatalf("Test %d: Expected FileInfo's transition info to be equal: fi %v ofi %v", i, fi, ofi) } if i != 0 && actual {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:02:50 UTC 2024 - 13.5K bytes - Viewed (0) -
cmd/erasure-metadata.go
objInfo.Checksum = fi.Checksum objInfo.decryptPartsChecksums(nil) objInfo.Inlined = fi.InlineData() // Success. return objInfo } // TransitionInfoEquals returns true if transition related information are equal, false otherwise. func (fi FileInfo) TransitionInfoEquals(ofi FileInfo) bool { switch { case fi.TransitionStatus != ofi.TransitionStatus, fi.TransitionTier != ofi.TransitionTier,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K bytes - Viewed (0) -
cmd/storage-datatypes.go
if ok1 != ok2 { return false } if typ1 != typ2 { return false } if fi.IsCompressed() != ofi.IsCompressed() { return false } if !fi.TransitionInfoEquals(ofi) { return false } if !fi.ModTime.Equal(ofi.ModTime) { return false } return fi.Erasure.Equal(ofi.Erasure) } // GetDataDir returns an expected dataDir given FileInfo
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 17.3K bytes - Viewed (0)