Skip to main content

import_document

Function import_document 

Source
pub fn import_document(
    root: &Path,
    folder: &Path,
    doc: &FurDocument,
) -> Result<(), String>
Expand description

Add one already-validated canonical conversation document to the operational .fur/ index without rebuilding or disturbing the rest of the project.

viceroy: this is the narrow import seam used by publication registries. The conversation directory remains authoritative; the JSON written here is only its local projection.