about summary refs log tree commit diff
path: root/src/nix-hash.cc
blob: e35d0a1feda3e3cdb3b1d7a83f05e310b914b17b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <iostream>

#include "hash.hh"
#include "shared.hh"


void run(Strings args)
{
    for (Strings::iterator it = args.begin();
         it != args.end(); it++)
        cout << format("%1%\n") % (string) hashPath(*it);
}


string programId = "nix-hash";