MCPcopy
hub / github.com/minio/minio-go / IsSet

Method IsSet

checksum.go:376–378  ·  view source on GitHub ↗

IsSet returns whether the checksum is valid and known.

()

Source from the content-addressed store, hash-verified

374
375// IsSet returns whether the checksum is valid and known.
376func (c Checksum) IsSet() bool {
377 return c.Type.IsSet() && len(c.r) == c.Type.RawByteLen()
378}
379
380// Encoded returns the encoded value.
381// Returns the empty string if not set or valid.

Callers 15

EncodedMethod · 0.95
RawMethod · 0.95
appendObjectDoMethod · 0.45
ChecksumModeMethod · 0.45
ChecksumTypeMethod · 0.45
putObjectDoMethod · 0.45
MarshalMethod · 0.45
validateMethod · 0.45
PutObjectMethod · 0.45

Calls 1

RawByteLenMethod · 0.80

Tested by

no test coverage detected