Skip to content
API Documentation
BastionGuard™
btrfs_recovery.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "disk_reader.hpp"
4#include "models.hpp"
6
7#include <string>
8#include <vector>
9
11public:
12 explicit BtrfsRecovery(DiskReader& reader);
13
14 bool recover(uint64_t volume_offset,
15 const std::string& output_dir,
16 std::vector<RecoveredFileRecord>& recovered,
17 std::vector<std::string>& logs,
18 std::string& error);
19
20private:
22};
bool recover(uint64_t volume_offset, const std::string &output_dir, std::vector< RecoveredFileRecord > &recovered, std::vector< std::string > &logs, std::string &error)
BtrfsRecovery(DiskReader &reader)
DiskReader & reader_