Skip to main content

import_entries

Function import_entries 

Source
pub fn import_entries(json: &str) -> Result<ImportResult, String>
Expand description

Import a native knowledge JSON (an array of FactorKnowledge). The content hash of each entry is recomputed and verified against the imported content_hash (if present); a mismatch is a warning, not a silent accept.