Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0badb7ca authored by Yifan Hong's avatar Yifan Hong
Browse files

Add compression to dump

Add compression flag to SnapshotManager::Dump.

Test: snapshotctl dump

Change-Id: Ie1f6562736d4e83ef7e70d79c761ee42194d7fc5
parent 114a2c09
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3098,7 +3098,8 @@ bool SnapshotManager::Dump(std::ostream& os) {
    std::stringstream ss;

    ss << "Update state: " << ReadUpdateState(file.get()) << std::endl;

    ss << "Compression: " << ReadSnapshotUpdateStatus(file.get()).compression_enabled()
       << std::endl;
    ss << "Current slot: " << device_->GetSlotSuffix() << std::endl;
    ss << "Boot indicator: booting from " << GetCurrentSlot() << " slot" << std::endl;
    ss << "Rollback indicator: "