Expand description
Transactional journal for file relocation operations.
The journal records every file operation (rename, copy, move) performed during a match batch so that the action can be reliably resumed or rolled back if the process is interrupted. Entries are persisted to disk using an atomic write-then-rename strategy to guarantee that the on-disk journal is never left in a partially written state.
Structs§
- Journal
Data - Persistent journal data describing a single match batch.
- Journal
Entry - A single recorded file operation within a journal batch.
Enums§
- Journal
Entry Status - Status of an individual journal entry.
- Journal
Operation Type - The type of file system operation described by a journal entry.
Functions§
- journal_
path - Resolve the canonical path to the match journal file.
- lock_
path - Resolve the canonical path to the match batch lock file.