aboutsummaryrefslogtreecommitdiff
path: root/src/nix-hash.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-10-20 09:20:11 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-10-20 09:20:11 +0000
commit53e376d836133a660223198c7bb8308fb912375e (patch)
tree92d5e5381b9bfafd2a79d3efdec71f14edb798d9 /src/nix-hash.cc
parent0eab306466fdb186c692521dd1f2b949e56c54da (diff)
* Refactored the source tree.
Diffstat (limited to 'src/nix-hash.cc')
-rw-r--r--src/nix-hash.cc20
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";
-