Skip to main content

Module trace

Module trace 

Source

Structs§

ClassMemberTrace
Result of tracing a class / enum / store MEMBER: the --trace FILE:NAME fallback when NAME is not a top-level export but a member declared on one (issue #1744). The trace runs on the module graph only, so it reports the OWNING export’s reachability and usage (the gating precondition for member-level crediting) plus a pointer to the right --unused-*-members command, rather than per-member crediting provenance.
CloneTrace
Result of tracing a clone: all groups containing the code at a source location or addressed by a stable clone fingerprint.
DependencyTrace
Result of tracing a dependency: where it is used.
ExportReference
A direct reference to an export.
ExportTrace
Result of tracing an export: why it is considered used or unused.
FileTrace
Result of tracing all edges for a file.
ImpactClosureGap
One coordination-gap entry in an ImpactClosureTrace.
ImpactClosureTrace
Result of computing the impact closure for a single file as the seed.
PipelineTimings
Pipeline performance timings.
ReExportChain
A re-export chain showing how an export is propagated.
TracedCloneGroup
One clone group returned from a clone trace request.
TracedExport
An export with usage information.
TracedReExport
A re-export with source information.

Functions§

trace_class_member
Trace a class / enum / store MEMBER when --trace FILE:NAME’s NAME is not a top-level export but a member declared on one (issue #1744). Runs on the graph only, so it reports the OWNING export’s reachability and usage (the gating precondition for member crediting) plus a pointer to the right --unused-*-members command, not per-member crediting provenance.
trace_clone
trace_clone_by_fingerprint
Trace a clone group by its stable content fingerprint.
trace_dependency
Trace where a dependency is used.
trace_export
Trace why an export is considered used or unused.
trace_file
Trace all edges for a file.
trace_impact_closure
Compute the impact closure for a single file as the seed.