Skip to content

x/mod/sumdb/dirhash: incorrect Unix command example #48498

@jjlin

Description

@jjlin

At https://cs.opensource.google/go/x/mod/+/refs/tags/v0.5.0:sumdb/dirhash/hash.go;l=36, the Unix command equivalent given for Hash1() is

find . -type f | sort | sha256sum

which doesn't really capture what Hash1() actually does. It would be less misleading to give an equivalent like

find . -type f | sort | xargs sha256sum | sha256sum

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions