1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00

nix: Implement basic bash completion

This commit is contained in:
Eelco Dolstra 2020-05-10 20:32:21 +02:00
parent 14a3a62bfc
commit 91ddee6bf0
9 changed files with 95 additions and 4 deletions

View file

@ -16,6 +16,9 @@
namespace nix {
std::set<std::string> hashTypes = { "md5", "sha1", "sha256", "sha512" };
void Hash::init()
{
if (type == htMD5) hashSize = md5HashSize;