Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Digester ¶
type Digester struct {
// contains filtered or unexported fields
}
Digester computes a digest of the provided stream, if not known yet.
func DigestIfCanonicalUnknown ¶
DigestIfCanonicalUnknown initiates computation of a digest.Canonical digest of stream, if a digest.Canonical digest is not supplied in the provided blobInfo; otherwise blobInfo.Digest will be used. The caller MUST use the returned stream instead of the original value.
func DigestIfUnknown ¶
DigestIfUnknown initiates computation of a digest.Canonical digest of stream, if no digest is supplied in the provided blobInfo; otherwise blobInfo.Digest will be used (accepting any algorithm). The caller MUST use the returned stream instead of the original value.
Click to show internal directories.
Click to hide internal directories.