mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 01:39:36 +01:00
Factor out commonality between nix-prefetch-url and nix-store --add-fixed
This commit is contained in:
parent
7f1a86d57c
commit
5dff49f661
6 changed files with 64 additions and 42 deletions
|
|
@ -53,4 +53,6 @@ ContentAddress parseContentAddress(std::string_view rawCa);
|
|||
|
||||
std::optional<ContentAddress> parseContentAddressOpt(std::string_view rawCaOpt);
|
||||
|
||||
Hash getContentAddressHash(const ContentAddress & ca);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue