Skip to main content

import_bundle_content

Function import_bundle_content 

Source
pub fn import_bundle_content(
    root: &Path,
    content: &str,
) -> Result<String, String>
Expand description

导入 bundle(从 JSON 字符串):校验 + 原子写。返回新 id。 供 console import_session(content) 与 server POST /sessions/import 共用。