Count how many learnings would be written to the context file. Only counts Repo and Workflow — Code learnings are excluded.
(learnings: &Learnings)
| 186 | /// |
| 187 | /// Only counts Repo and Workflow — Code learnings are excluded. |
| 188 | pub fn context_file_learning_count(learnings: &Learnings) -> usize { |
| 189 | learnings.repo.len() + learnings.workflow.len() |
| 190 | } |
| 191 | |
| 192 | /// Format a single code learning as a markdown list item. |
| 193 | /// |
no test coverage detected