Skip to main content

project_export_decoded

Function project_export_decoded 

Source
pub async fn project_export_decoded(
    api: &dyn GatewayApi,
    name: &str,
    out_dir: Option<&Path>,
) -> Result<ExportDecodedResult, CoreError>
Expand description

ign project export NAME --decode-scripts — buffer the export (the diff/sync seam), then decode the tree via the PURE codec: members + counter-named sidecars + scripts-manifest.json at the directory root. The re-encode half (import --encode-scripts) lives at the CLI dispatch seam — it re-zips the directory BEFORE this action’s import path, which then rides verbatim (validate_import walks the re-zipped archive — the 05-07 guard applies free).