Skip to main content

plan_git_scope

Function plan_git_scope 

Source
pub fn plan_git_scope(
    verb: SaveVerb,
    capability: RepositoryCapability,
    staged_index_paths: bool,
    include_all_worktree: bool,
) -> GitScope
Expand description

Pure routing helper: which Git write-through scope a verb should use.

Used by unit tests and by CLI shells that build a SavePlan before calling execute_save.