Binary object storage, misc changes

This commit is contained in:
2015-02-13 15:47:56 +01:00
parent 701ccce857
commit 260808b1fc
7 changed files with 106 additions and 3 deletions

14
binifyObj.cc Normal file
View File

@@ -0,0 +1,14 @@
#include <string>
#include "objectParser.hh"
int main(int argc, char* argv[])
{
if(argc != 3)
return 1;
auto obj = readObject(argv[1]);
writeObjectPB(argv[2], obj);
return 0;
}