commit | 808078ef7554fdf526ce807bafc96efc0167907c | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Sun Dec 05 17:37:09 2021 -0800 |
committer | David Anderson <dvander@google.com> | Mon Jul 25 16:56:33 2022 -0700 |
tree | d6b082664474e08f4ce962ce046117e3a054c985 | |
parent | 8f7aaf9d9753b824621032a025bf021bcb6ece1b [diff] |
libsnapshot: Refactor WriteSnapshotAndHash. This adds a helper around WrapSnapshotAndHash to avoid manually calling it as most tests have to do. It also changes the signature so a PartitionUpdate is passed rather than a name, which gives access to partition information for debugging. Bug: 208944665 Test: builds Change-Id: Icd1cdf9d49c48f5a44c35ab1b86f43287e429f86