Rearrange project files.
This commit is contained in:
+1
-17
@@ -1,23 +1,7 @@
|
||||
#include "cli/cli.h"
|
||||
#include "pch.h"
|
||||
#include "vase/iterators/line.h"
|
||||
#include "vase/vase.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
if (argc < 2)
|
||||
throw std::runtime_error("Please give filename.");
|
||||
|
||||
Vase vase = Vase(argv[1], "/tmp");
|
||||
|
||||
Point p = {UINT64_MAX, UINT64_MAX};
|
||||
vase.insert(&p, 'c');
|
||||
|
||||
printf("%s\n\n", vase.to_string().c_str());
|
||||
|
||||
printf("%lu bytes\n"
|
||||
"%lu lines\n"
|
||||
"\n",
|
||||
vase.length(),
|
||||
vase.root->lines);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user