Documentation
¶
Overview ¶
Package srclines is the shared source-file line cache used by every stage that re-reads scanned source to show or match lines: the HTML report's code snippets, the LLM reviewer's code context, and the inline godzilla:ignore sweep.
A Cache is deliberately pass-scoped (one per report render / review pass / ignore sweep), never package-global, so a later scan of a changed file can never observe stale contents.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Cache memoizes source files split into lines. A nil entry records an unreadable file so it is not retried on later lookups. The zero value of the underlying map type is not usable; construct with Cache{}.
Click to show internal directories.
Click to hide internal directories.