Age | Commit message (Collapse) | Author |
|
Also use std::string_view in a few more places.
|
|
once a string has been forced we already have dynamic storage allocated for it,
so we can easily reuse that storage instead of copying.
|
|
|
|
|
|
We did this in the same spirit of the dummy value that's present in
libstore/path.hh
|
|
|
|
|
|
better-ca-parse-errors
|
|
|
|
|
|
|
|
|
|
|
|
better-ca-parse-errors
|
|
|
|
|
|
Also mark it static
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://hydra.nixos.org/build/123017579
|
|
|
|
|
|
|
|
validPathInfo-ca-proper-datatype
|
|
|
|
|
|
Not a regular git revert as there have been many merges and things.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This replaces the copy&paste with a helper function in hash.hh.
|
|
|
|
Instead, `Hash` uses `std::optional<HashType>`. In the future, we may
also make `Hash` itself require a known hash type, encoraging people to
use `std::optional<Hash>` instead.
|