Database Type
SQLite-backed dependency graph storage.
Constructors
| Constructor |
Description
|
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.ClearEvents
Parameters:
string
|
Delete all events for a given run ID.
|
|
Get all handler source files in the route_handlers table.
|
|
Get all route handler entries.
|
|
Return the set of all symbol full names.
|
|
Return all symbols ordered by file and line.
|
|
Get dependencies originating from symbols defined in the given source file.
|
Full Usage:
this.GetEvents
Parameters:
string
Returns: (string * string * string) list
|
Get all events for a given run ID, ordered by insertion order.
|
Full Usage:
this.GetFileKey
Parameters:
string
Returns: string option
|
Get the stored cache key for a source file, or None if not yet indexed.
|
Full Usage:
this.GetIncomingEdgesBatch
Parameters:
string list
Returns: Map<string, string list>
|
Get incoming edges for a batch of symbol names (who depends on each).
|
Full Usage:
this.GetProjectKey
Parameters:
string
Returns: string option
|
Get the stored cache key for a project, or None if not yet indexed.
|
|
Get all symbols reachable from the given root symbol names (transitively).
|
|
Return all symbols stored for a given source file path.
|
|
Return the set of symbol names that are test methods.
|
|
Get test methods whose symbol is defined in the given source file.
|
Full Usage:
this.GetUrlPatternsForSourceFile
Parameters:
string
Returns: string list
|
Get all URL patterns served by a given handler source file.
|
Full Usage:
this.InsertEvent
Parameters:
string
timestamp : string
eventType : string
eventData : string
|
Insert an audit event into the analysis_events table.
|
Full Usage:
this.QueryAffectedTests
Parameters:
string list
Returns: TestMethodInfo list
|
Find test methods transitively depending on the given changed symbol names.
|
Full Usage:
this.RebuildProjects
Parameters:
AnalysisResult list
?fileKeys : (string * string) list
?projectKeys : (string * string) list
|
Clear and re-insert symbols, dependencies, and test methods. All symbols are inserted before any dependencies, so cross-project edges resolve correctly. When called with a subset of projects, dependency edges to symbols in other projects will only resolve if those symbols already exist in the database from a prior call. Optional fileKeys/projectKeys are written in the same transaction for atomicity.
|
|
Store route -> handler source file mappings. Clears and rebuilds all entries.
|
Static members
| Static member |
Description
|
|
TestPrune