diff options
Diffstat (limited to 'src/nix-hash.cc')
-rw-r--r-- | src/nix-hash.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/nix-hash.cc b/src/nix-hash.cc deleted file mode 100644 index 77c169b9a..000000000 --- a/src/nix-hash.cc +++ /dev/null @@ -1,20 +0,0 @@ -#include <iostream> - -#include "hash.hh" -#include "shared.hh" - - -void run(Strings args) -{ - bool flat = false; - for (Strings::iterator i = args.begin(); - i != args.end(); i++) - if (*i == "--flat") flat = true; - else - cout << format("%1%\n") % (string) - (flat ? hashFile(*i) : hashPath(*i)); -} - - -string programId = "nix-hash"; - |