Skip to main content

plan_atomize

Function plan_atomize 

Source
pub fn plan_atomize(
    repo: &Repository,
    config: &Config,
    matcher: &ComponentMatcher,
    source_id: ObjectId,
    force: bool,
) -> Result<(Vec<AtomicResult>, Vec<Effect>), Error>
Expand description

Plan atomization of a single source commit into per-component branches.

Returns the results and a list of effects to execute. Tree/commit object writes happen inline (they’re immutable and harmless without refs), but the ref transaction is returned as an effect for the caller to execute.