We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cc41cb commit 753403cCopy full SHA for 753403c
digest.go
@@ -63,8 +63,7 @@ func Parse(s string) (Digest, error) {
63
return d, d.Validate()
64
}
65
66
-// FromReader returns the most valid digest for the underlying content using
67
-// the canonical digest algorithm.
+// FromReader consumes the content of rd until io.EOF, returning canonical digest.
68
func FromReader(rd io.Reader) (Digest, error) {
69
return Canonical.FromReader(rd)
70
0 commit comments