Expand description
Pinning a file nobody published a hash for.
Most providers say what a file’s hash is. For a plain URL there is nobody
to ask, so the file is downloaded once, at build time, and hashed. The
manifest then carries that hash, and every install is held to the bytes
that were seen here — which is the whole of what the old install-time
discovery could not offer.
Structs§
- Pinned
- What a download turned out to be.
Enums§
Functions§
- pin_url
- Download
urland report its size and sha256. - sha256_
hex - The sha256 of
bytes, lower-case hex.