diffctx 1.12.1

Selects the minimum code an LLM needs to review a git diff: walks the dependency graph outward from changed lines and stops when extra context stops paying for itself
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod containment;
pub mod sibling;
pub mod testing;

use super::base::EdgeBuilder;

pub fn get_structural_builders() -> Vec<Box<dyn EdgeBuilder>> {
    vec![
        Box::new(containment::ContainmentEdgeBuilder),
        Box::new(sibling::SiblingEdgeBuilder),
        Box::new(testing::TestEdgeBuilder),
    ]
}