- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsCompressed (0.12 sec)
-
cmd/erasure-metadata.go
// If metadata says encrypted, ask for it in quorum. if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok { fmt.Fprint(h, etyp) } // If compressed, look for compressed FileInfo only if meta.IsCompressed() { fmt.Fprint(h, meta.Metadata[ReservedMetadataPrefix+"compression"]) } metaHashes[i] = hex.EncodeToString(h.Sum(nil)) h.Reset() } } metaHashCountMap := make(map[string]int)
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/erasure-object.go
if opts.MTime.IsZero() { modTime = UTCNow() } kind, encrypted := crypto.IsEncrypted(userDefined) actualSize := data.ActualSize() if actualSize < 0 { compressed := fi.IsCompressed() switch { case compressed: // ... nothing changes for compressed stream. // if actualSize is -1 we have no known way to // determine what is the actualSize. case encrypted:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 78.8K bytes - Viewed (0)