Skip to content

Commit

Permalink
Align Digest docstring with https://www.pantsbuild.org/v2.0/docs/ru…
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano committed Jul 28, 2020
1 parent c98883d commit 3a21c5e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/python/pants/engine/fs.py
Expand Up @@ -15,13 +15,10 @@

@dataclass(frozen=True)
class Digest:
"""A Digest is a content-digest fingerprint, and a length of underlying content.
"""A Digest is a lightweight reference to a set of files known about by the engine.
Typically, this is used as a lightweight reference to a set of files known about by the engine.
You can use `await Get(Snapshot, Digest)` to set the file names referred to, or use
`await Get(DigestContents, Digest)` to see the actual file content.
Occasionally, a Digest is a reference for other types of strings/bytes/content.
"""

fingerprint: str
Expand Down

0 comments on commit 3a21c5e

Please sign in to comment.