summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2020-10-16 19:42:32 -0700
committerDaniel Rosenberg <drosen@google.com>2020-10-22 21:26:27 -0700
commit2d2fd72502c3b64658085816e5dcfeaa29fdc8e3 (patch)
tree1d71d687bba87fe9376f8e3dca70d5ca0431da2d /trusty/coverage/coverage.cpp
parentb4a81ccd5a1051ecc7ac3c385f4d678858d8a125 (diff)
Switch up Cow Format to be resumable
This switches up the format to alternate ops with data, followed by a footer containing additional meta information. This allows the file to be resumed at arbitrary points if writing gets interrupted by power loss. Also adds a label op, which allows labeling future ops as connected. If the footer is missing, Append will treat the last label as possibly corrupt, and ignore it. Change-Id: I126e15837d710776f9396e7afc9b0cd595e26b59 Bug: 168829493 Test: cow_api_test
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions