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.
2 parents 7cc41cb + 753403c commit 3566a39Copy full SHA for 3566a39
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