Skip to main content

Module graph

Module graph 

Source

Structs§

CurrentDepGraph 🔒
CurrentDepGraph stores the dependency graph for the current session. It will be populated as we run queries or tasks. We never remove nodes from the graph: they are only added.
DepGraph
DepGraphData
DepNodeColorMap 🔒
DepNodeIndex
EdgeIndex 🔒
MarkFrame 🔒
TaskDeps
WorkProduct
A “work product” is an intermediate result that we save into the incremental directory for later re-use. The primary example are the object files that we save for each partition at code generation time.

Enums§

DepNodeColor 🔒
QuerySideEffect
Tracks ‘side effects’ for a particular query. This struct is saved to disk along with the query result, and loaded from disk if we mark the query as green. This allows us to ‘replay’ changes to global state that would otherwise only occur if we actually executed the query method.
TaskDepsRef

Constants§

COMPRESSED_RED 🔒
COMPRESSED_UNKNOWN 🔒

Functions§

hash_result
panic_on_forbidden_read 🔒
print_markframe_trace 🔒

Type Aliases§

WorkProductMap