Skip to main content

export

Function export 

Source
pub fn export(
    roots: &RetentionRoots,
    dest: &Path,
) -> Result<ExportSummary, Error>
Expand description

Headless export: copy sessions, memory, traces (recursive), and logs to dest with no symlink surface, no check/use races, and private modes throughout (CP-13 fix2): every destination directory and file is created RELATIVE to held directory handles beneath the trusted export root — a planted or concurrently swapped ancestor symlink fails the export closed instead of being written through. Unix-only; other platforms fail closed.