| 640 | } |
| 641 | |
| 642 | const Commit * find(uint32_t num) |
| 643 | { |
| 644 | walk(num); |
| 645 | |
| 646 | // std::cerr << "current_idx: " << current_idx << ", num: " << num << "\n"; |
| 647 | |
| 648 | if (current_idx == num && it != lines.end()) |
| 649 | return &*it; |
| 650 | return {}; |
| 651 | } |
| 652 | |
| 653 | void addLine(uint32_t num, Commit commit) |
| 654 | { |
no test coverage detected