9 lines
473 B
SQL
9 lines
473 B
SQL
-- Innermost definitions covering a changed line range (one hunk). Replace FILE/START/END.
|
|
-- Run: orbit sql --repo <tip-worktree> --db <db> -f hunk-to-defs.sql
|
|
SELECT definition_type, fqn, start_line, end_line
|
|
FROM gl_definition
|
|
WHERE file_path = 'crates/dirigent_archivist/src/storage/backup.rs'
|
|
AND start_line <= 450 AND end_line >= 438 -- hunk END / START
|
|
AND definition_type NOT IN ('Module', 'Field', 'Variant')
|
|
ORDER BY end_line - start_line LIMIT 3;
|