- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ToFileInfo (0.1 sec)
-
cmd/xl-storage-format_test.go
b.Fatal(err) } } }) b.Run("ToFileInfo", func(b *testing.B) { b.SetBytes(int64(size)) b.ResetTimer() b.ReportAllocs() for i := 0; i < b.N; i++ { // Load... xl = xlMetaV2{} err := xl.Load(enc) if err != nil { b.Fatal(err) } // List... _, err = xl.ToFileInfo("volume", "path", ids[rng.Intn(size)], false, true)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
Hash: nil, }}, }, NumVersions: 1, } fi.SetHealing() failOnErr(xl.AddVersion(fi)) var err error fi, err = xl.ToFileInfo(fi.Volume, fi.Name, fi.VersionID, false, true) if err != nil { t.Fatalf("xl.ToFileInfo failed with %v", err) } if fi.Healing() { t.Fatal("Expected fi.Healing to be false") } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0) -
cmd/metacache-entries.go
return FileInfo{ Volume: bucket, Name: e.name, Deleted: true, IsLatest: true, ModTime: timeSentinel1970, }, nil } return e.cached.ToFileInfo(bucket, e.name, "", false, true) } return getFileInfo(e.metadata, bucket, e.name, "", fileInfoOpts{}) } // xlmeta returns the decoded metadata. // This should not be called on directories.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0)