Skip to content

v0.4.9 — miner.rs split into mod + diff

Choose a tag to compare

@gleicon gleicon released this 31 Aug 12:33
· 1 commit to main since this release

Refactor: miner.rs → miner/ module directory

669-line miner.rs split into 2 focused modules:

Module Responsibility LOC
miner/mod.rs Miner struct, mine, compute_cochange, list_commits, worklog, git helper, tests 371
miner/diff.rs mine_symbol_spans, diff_line_ranges*, FileDiffRanges, parse_diff_ranges*, parse_hunk_* 220

All diff and hunk-parsing logic grouped with the methods that use them. External API unchanged. 71 tests pass.