MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / flushChanges

Method flushChanges

lib/vfs/memorysectorinterface.cc:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 void flushChanges() override
43 {
44 for (const auto& sector : *_liveImage)
45 {
46 const auto& s = _backupImage->put(sector->logicalCylinder,
47 sector->logicalHead,
48 sector->logicalSector);
49 *s = *sector;
50 }
51 _changed = false;
52 }
53
54 void discardChanges() override
55 {

Callers

nothing calls this directly

Calls 1

putMethod · 0.45

Tested by

no test coverage detected