MCPcopy Create free account
hub / github.com/PiSCSI/piscsi / ResizeCache

Method ResizeCache

cpp/devices/disk.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void Disk::ResizeCache(const string& path, bool raw)
87{
88 cache.reset(new DiskCache(path, size_shift_count, GetBlockCount()));
89 cache->SetRawMode(raw);
90}
91
92void Disk::FlushCache()
93{

Callers

nothing calls this directly

Calls 1

SetRawModeMethod · 0.80

Tested by

no test coverage detected