Execute a query plan against this working copy's registered desired view. The `kg_search` step reads VCS nodes and source content through that view's closure; other steps keep their existing scope.
(repo: &Repository, plan: &QueryPlan)
| 166 | /// The `kg_search` step reads VCS nodes and source content through that |
| 167 | /// view's closure; other steps keep their existing scope. |
| 168 | pub fn execute_plan(repo: &Repository, plan: &QueryPlan) -> Result<PlanResult, RepositoryError> { |
| 169 | let working_copy = repo.require_working_copy_id()?; |
| 170 | let view = repo.desired_view_name(working_copy)?; |
| 171 | execute_plan_on_view(repo, &view, plan) |
| 172 | } |
| 173 | |
| 174 | /// Execute a query plan against a specific view's recorded closure. |
| 175 | pub fn execute_plan_on_view( |