Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::timeline::FileJournalOpenResult Struct Reference

Result of opening or recovering a native Timeline journal. More...

#include <file_journal.hpp>

Public Attributes

std::shared_ptr< FileJournal > sink
Project checkpoint
DocumentRevision revision
bool recovered_existing = false
bool repaired_torn_tail = false

Detailed Description

Result of opening or recovering a native Timeline journal.

sink retains the open file and must stay alive while a DocumentSession uses it. checkpoint and revision are the exact state validated against the durable file. The two flags distinguish a new fallback from recovered or repaired durable state.

Member Data Documentation

◆ checkpoint

Project pulp::timeline::FileJournalOpenResult::checkpoint

◆ recovered_existing

bool pulp::timeline::FileJournalOpenResult::recovered_existing = false

◆ repaired_torn_tail

bool pulp::timeline::FileJournalOpenResult::repaired_torn_tail = false

◆ revision

DocumentRevision pulp::timeline::FileJournalOpenResult::revision

◆ sink

std::shared_ptr<FileJournal> pulp::timeline::FileJournalOpenResult::sink

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/timeline/include/pulp/timeline/file_journal.hpp