|
CCF
|
Enumerations | |
| enum class | DigestCheckResult : std::uint8_t { match_found , no_match , file_gone } |
Functions | |
| std::vector< std::pair< size_t, std::filesystem::path > > | find_committed_ledger_chunks (const std::filesystem::path &dir) |
| std::optional< ccf::crypto::Sha256Hash > | hash_file (const std::filesystem::path &path) |
| DigestCheckResult | check_digest_against_read_only_dirs (const std::filesystem::path &local_path, const std::vector< std::filesystem::path > &read_only_dirs) |
| std::optional< std::vector< std::pair< size_t, std::filesystem::path > > > | find_committed_snapshots (const std::filesystem::path &dir) |
| std::optional< size_t > | highest_committed_snapshot_seqno (const std::vector< std::pair< size_t, std::filesystem::path > > &committed_snapshots) |
| void | cleanup_old_snapshots (const std::vector< std::pair< size_t, std::filesystem::path > > &committed_snapshots, size_t max_retained) |
| void | cleanup_old_ledger_chunks (const std::filesystem::path &main_dir, const std::vector< std::filesystem::path > &read_only_dirs, size_t max_retained, std::optional< size_t > snapshot_watermark=std::nullopt) |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |