Сохранение снимка

This commit is contained in:
Alexander Zhirov 2025-09-10 21:00:52 +03:00
parent 18bcf3742d
commit 8631c65e39
Signed by: alexander
GPG key ID: C8D8BE544A27C511
7 changed files with 419 additions and 26 deletions

View file

@ -6,6 +6,6 @@ import std.file : read;
void main()
{
auto cas = new CAS("/tmp/base.db");
auto cas = new CAS("/tmp/base.db", true);
cas.saveSnapshot("/tmp/text", cast(ubyte[]) read("/tmp/text"));
}