Expand description
GDScript dependency graph for test impact analysis.
Parses extends, preload(), and load() calls to build a reverse
dependency map: changed_file → test files that transitively import it.
Functions§
- affected_
files - Return all res:// paths that transitively depend on any file in
changed. The result does NOT include the changed files themselves — only their dependents. - build_
dep_ graph - Build forward and reverse dependency graphs by scanning all
.gdfiles. - parse_
file_ deps - Parse all
res://dependencies referenced in a GDScript source file. Handlesextends "res://...",preload("res://..."),load("res://...").
Type Aliases§
- DepGraph
- Maps res:// path → set of res:// paths.