Skip to main content

export_plain_text_with

Function export_plain_text_with 

Source
pub fn export_plain_text_with(
    db_context: &DbContext,
    event_hub: &Arc<EventHub>,
    options: PlainTextExportOptions,
) -> Result<ExportPlainTextDto>
Expand description

export_plain_text, with the presentation options a written-out .txt file wants.

Separate entry point rather than flags on the default one, because the default one’s output is load-bearing: it is pinned to the document’s addressable text, so anything that indents or inserts would move every search offset after it.