Получение снимка
This commit is contained in:
parent
8631c65e39
commit
541d09b8f4
4 changed files with 106 additions and 88 deletions
|
@ -7,5 +7,6 @@ import std.file : read;
|
|||
void main()
|
||||
{
|
||||
auto cas = new CAS("/tmp/base.db", true);
|
||||
cas.saveSnapshot("/tmp/text", cast(ubyte[]) read("/tmp/text"));
|
||||
// cas.saveSnapshot("/tmp/text", cast(ubyte[]) read("/tmp/text"));
|
||||
cas.restoreSnapshot();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue