Skip to content

Commit 3566a39

Browse files
authored
Merge pull request #13 from docker/stevvooe-patch-1
digest: remove out of date godoc comment
2 parents 7cc41cb + 753403c commit 3566a39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

digest.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ func Parse(s string) (Digest, error) {
6363
return d, d.Validate()
6464
}
6565

66-
// FromReader returns the most valid digest for the underlying content using
67-
// the canonical digest algorithm.
66+
// FromReader consumes the content of rd until io.EOF, returning canonical digest.
6867
func FromReader(rd io.Reader) (Digest, error) {
6968
return Canonical.FromReader(rd)
7069
}

0 commit comments

Comments
 (0)