Function split_hunks_to_trees

Source
pub async fn split_hunks_to_trees(
    repo: &dyn Repo,
    source: &AbsorbSource,
    destinations: &Rc<ResolvedRevsetExpression>,
    matcher: &dyn Matcher,
) -> Result<SelectedTrees, AbsorbError>
Expand description

Builds trees to be merged into destination commits by splitting source changes based on file annotation.