Skip to main content

derive

Function derive 

Source
pub fn derive(
    repo: &Repository,
    branches: &[String],
    config: &DeriveConfig,
) -> Result<Document>
Expand description

Derive a Toolpath Document from the given repository and branch names.

Branch strings are parsed as BranchSpecs (supporting "name:start" syntax). A single branch produces a Document::Path; multiple branches produce a Document::Graph.