mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 00:36:20 +02:00
17 lines
261 B
C++
17 lines
261 B
C++
|
#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";
|
||
|
|