Skip to main content

run

Function run 

Source
pub fn run(
    db_path: &Path,
    args: &ExportReflectionsArgs,
    out: &mut CliOutput<'_>,
) -> Result<i32>
Expand description

Dispatch entry-point called from daemon_runtime::run.

§Errors

Propagates DB / I/O errors. Returns Ok(0) on success, Ok(non-zero) for non-fatal anomalies (e.g. unsupported format) so the harness can map the exit code without Err unwinding tripping the post-run WAL checkpoint.