| 78 | } |
| 79 | |
| 80 | void Disk::SetUpCache(off_t image_offset, bool raw) |
| 81 | { |
| 82 | cache = make_unique<DiskCache>(GetFilename(), size_shift_count, GetBlockCount(), image_offset); |
| 83 | cache->SetRawMode(raw); |
| 84 | } |
| 85 | |
| 86 | void Disk::ResizeCache(const string& path, bool raw) |
| 87 | { |
nothing calls this directly
no test coverage detected