- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isRestoredObjectOnDisk (0.11 sec)
-
cmd/bucket-lifecycle_test.go
if actual := tc.restoreStatus.OnDisk(); actual != tc.ondisk { t.Fatalf("Test %d: expected %v but got %v", i+1, tc.ondisk, actual) } } } // TestIsRestoredObjectOnDisk tests isRestoredObjectOnDisk helper function func TestIsRestoredObjectOnDisk(t *testing.T) { testCases := []struct { meta map[string]string ondisk bool }{ { // restore in progress meta: map[string]string{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
return false } return !isRestoredObjectOnDisk(fi.Metadata) } // IsRemote returns true if this object version's contents are in its remote // tier. func (oi ObjectInfo) IsRemote() bool { if oi.TransitionedObject.Status != lifecycle.TransitionComplete { return false } return !isRestoredObjectOnDisk(oi.UserDefined) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 23 15:35:37 UTC 2024 - 33.7K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
if !bytes.Equal(j.MetaSys[metaTierStatus], []byte(lifecycle.TransitionComplete)) { return true } // Check if this transitioned object has been restored on disk. return isRestoredObjectOnDisk(j.MetaUser) } // InlineData returns whether inline data has been set. // Note that false does not mean there is no inline data, // only that it is unlikely. func (j xlMetaV2Object) InlineData() bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (0)