| 52 | } |
| 53 | |
| 54 | bool Create(const size_t size, TGUID preferedGuid = TGUID()) { |
| 55 | Y_ABORT_UNLESS(Guid.IsEmpty(), "You must call Close before"); |
| 56 | if (preferedGuid.IsEmpty()) { |
| 57 | CreateGuid(&preferedGuid); |
| 58 | } |
| 59 | return CreateOpen(preferedGuid, size, true); |
| 60 | } |
| 61 | |
| 62 | bool Open(const TGUID& guid, const size_t size) { |
| 63 | Y_ABORT_UNLESS(Guid.IsEmpty(), "You must call Close before"); |
no test coverage detected