Skip to main content

archive_transcript

Function archive_transcript 

Source
pub fn archive_transcript(
    memory_dir: &Path,
    adapter: &dyn Transcript,
    transcript: &TranscriptRef,
    archived: &HashSet<String>,
) -> Result<Option<ArchiveResult>, RecallError>
Expand description

Read one transcript and archive it.

Ok(None) means the transcript turned out to be already archived under the id its contents report — the second half of the double-ingest check.