Небольшая оптимизация
This commit is contained in:
parent
c8d21bc3ce
commit
4f735abae7
3 changed files with 52 additions and 34 deletions
|
@ -7,10 +7,10 @@ import std.file : read;
|
|||
void main()
|
||||
{
|
||||
auto cas = new CAS("/tmp/base.db", true);
|
||||
// cas.newSnapshot("/tmp/text", "Файл для тестирования", cast(ubyte[]) read("/tmp/text"));
|
||||
import std.stdio : writeln;
|
||||
cas.newSnapshot("/tmp/text", cast(ubyte[]) read("/tmp/text"));
|
||||
// import std.stdio : writeln;
|
||||
|
||||
writeln(cas.getSnapshotList("/tmp/text"));
|
||||
// writeln(cas.getSnapshotList("/tmp/text"));
|
||||
|
||||
writeln(cas.getVersion);
|
||||
// writeln(cas.getVersion);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue