Rearrange project files.

This commit is contained in:
2026-08-06 20:16:40 +01:00
parent 9841c2cf15
commit 0720a254a3
22 changed files with 16 additions and 70 deletions
+1 -17
View File
@@ -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;
}