Skip to main content

parse_import_contents

Function parse_import_contents 

Source
pub fn parse_import_contents(contents: &str) -> Result<Vec<DcsTemplate>>
Expand description

Parses either a single-template JSON document or a multi-template TOML catalog without touching the database. The shared helper is used by the import command and by the fuzz target under fuzz/, keeping the high-risk format boundary independently testable.