diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-10 13:21:37 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-10 13:21:37 +0200 |
commit | 5dff49f661cd221fc457d1a4660cd36f28266dc5 (patch) | |
tree | 3011f404ec85f85e387a2acd26f2c80538631cc8 /src/libstore/content-address.hh | |
parent | 7f1a86d57c548b4db44f589ffae2f6491d3b2d4c (diff) |
Factor out commonality between nix-prefetch-url and nix-store --add-fixed
Diffstat (limited to 'src/libstore/content-address.hh')
-rw-r--r-- | src/libstore/content-address.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/content-address.hh b/src/libstore/content-address.hh index ba4797f5b..22a039242 100644 --- a/src/libstore/content-address.hh +++ b/src/libstore/content-address.hh @@ -53,4 +53,6 @@ ContentAddress parseContentAddress(std::string_view rawCa); std::optional<ContentAddress> parseContentAddressOpt(std::string_view rawCaOpt); +Hash getContentAddressHash(const ContentAddress & ca); + } |