Skip to main content

render_okf_bundle

Function render_okf_bundle 

Source
pub fn render_okf_bundle(
    export: &CorpusExport,
    recency: &[ArtifactRecency],
    root: &str,
) -> Result<BTreeMap<String, String>, String>
Expand description

render_okf_bundle(export, recency, root){relative path: contents} in a sorted map (the CLI writes sorted(bundle.items())).

Err mirrors the oracle’s uncaught ValueError on an index.md / log.md filename collision (a Python traceback, exit 1 — normally prevented by the okf-reserved-filename validate gate).