MCPcopy Create free account
hub / github.com/douglance/devsql / diff_file_symbols

Function diff_file_symbols

crates/devsql/src/tools/semantic_diff.rs:39–116  ·  view source on GitHub ↗

Compute semantic diff for a single file by comparing symbols between two versions and checking which symbols overlap with changed hunks.

(
    base_content: Option<&str>,
    head_content: Option<&str>,
    file_path: &str,
    language: &str,
    hunks: &[(usize, usize)], // (start_line, line_count) of changed regions in head
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runMethod · 0.85

Calls 1

extract_symbolsFunction · 0.85

Tested by

no test coverage detected