Skip to content
API Documentation
BastionGuard™
filesystem_recovery.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "disk_reader.hpp"
4#include "models.hpp"
5
6#include <string>
7#include <vector>
8
10 std::string output_path;
11 std::string filesystem;
12 std::string original_path;
13 uint64_t size_bytes {0};
14 std::string integrity {"full"};
15 std::string note;
16};
17
19public:
20 static bool recover_supported_filesystems(DiskReader& reader,
21 const ScanReport& report,
22 const std::string& output_dir,
23 std::vector<RecoveredFileRecord>& recovered,
24 std::vector<std::string>& logs,
25 std::string& error);
26};
static bool recover_supported_filesystems(DiskReader &reader, const ScanReport &report, const std::string &output_dir, std::vector< RecoveredFileRecord > &recovered, std::vector< std::string > &logs, std::string &error)