- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UsesDataDir (0.11 sec)
-
docs/bucket/versioning/DESIGN.md
Signature [4]byte // Signature of metadata. Type uint8 // Type if the version Flags uint8 } ``` The following flags are defined: ``` const ( FreeVersion = 1 << 0 UsesDataDir = 1 << 1 InlineData = 1 << 2 ) ``` The "Metadata" section contains a single version, encoded in similar fashion as each version in the `Versions` array of the previous version. ## Inline Data
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 17 15:43:14 UTC 2022 - 5.8K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
func (x xlMetaV2VersionHeader) FreeVersion() bool { return x.Flags&xlFlagFreeVersion != 0 } // UsesDataDir returns true if this object version uses its data directory for // its contents and false otherwise. func (x xlMetaV2VersionHeader) UsesDataDir() bool { return x.Flags&xlFlagUsesDataDir != 0 } // InlineData returns whether inline data has been set.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (1) -
cmd/xl-storage-format-v2_test.go
trimmed[len(trimmed)-10] += 10 if err := xl2.Load(trimmed); err == nil { t.Fatal("metadata corruption not detected") } } // TestUsesDataDir tests xlMetaV2.UsesDataDir func TestUsesDataDir(t *testing.T) { vID := uuid.New() dataDir := uuid.New() transitioned := make(map[string][]byte) transitioned[ReservedMetadataPrefixLower+TransitionStatus] = []byte(lifecycle.TransitionComplete)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0)