mirror of
https://github.com/NixOS/nix
synced 2025-06-29 14:53:16 +02:00
Improve documentation and test and requested
This commit is contained in:
parent
7af743470c
commit
8c07ed1dda
2 changed files with 7 additions and 4 deletions
|
@ -372,9 +372,9 @@ public:
|
|||
void queryPathInfo(const StorePath & path,
|
||||
Callback<ref<const ValidPathInfo>> callback) noexcept;
|
||||
|
||||
/* Check whether the given valid path info is sufficiently well-formed
|
||||
(e.g. hash content-address or signature) in order to be included in the
|
||||
given store.
|
||||
/* Check whether the given valid path info is sufficiently attested, by
|
||||
either being signed by a trusted public key or content-addressed, in
|
||||
order to be included in the given store.
|
||||
|
||||
These same checks would be performed in addToStore, but this allows an
|
||||
earlier failure in the case where dependencies need to be added too, but
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue