Skip to main content

append_run

Function append_run 

Source
pub fn append_run(
    fs: &impl Fs,
    paths: &StorePaths,
    doc_id: &str,
    record: &RunRecord,
) -> Result<(), SessionError>
Expand description

Append one agent-run record to the document’s runs log.

Creates the log file and its parent directory if they do not yet exist.