Cleanup namespace and api.

This commit is contained in:
2026-08-04 23:41:31 +01:00
parent 1f57c40eef
commit 5722731c6a
8 changed files with 63 additions and 50 deletions
+5 -3
View File
@@ -44,8 +44,10 @@ struct Vase {
OriginalBuffer *original;
AppendBuffer *append;
Shard *root;
std::filesystem::path path;
std::filesystem::path swapdir;
Vase(std::string path);
Vase(std::filesystem::path path, std::filesystem::path swapdir);
~Vase();
@@ -82,8 +84,8 @@ struct Vase {
void snapshot();
void prune_history(uint64_t n);
bool save(std::string path);
bool save_swap(std::string path);
bool save();
bool save_swap();
uint64_t offset_of(Point point);
Point point_of(uint64_t offset);