Skip to main content

write_import_bundle

Function write_import_bundle 

Source
pub fn write_import_bundle(
    dir: &Path,
    bundle: &Value,
    new_id: &str,
) -> Result<(), String>
Expand description

把 bundle 重建为目标目录的文件结构(session.id 替换为 new_id,标记 importedAt)。