Skip to main content

init_bundle

Function init_bundle 

Source
pub fn init_bundle(
    root: impl AsRef<Path>,
    options: &BundleInitOptions,
) -> Result<Vec<PathBuf>>
Expand description

Initializes a new OKF bundle at root with index.md, log.md, and optionally an initial concept.

Returns the list of created file paths on success.

ยงErrors

Returns an io::Error if index.md or log.md already exists (and force is false), or if writing to disk fails.