Documentation
¶
Overview ¶
Package deadsetgo carries the two documents this analyzer commits about its own conformance, so the command can state what a reader of the repository opens.
The documents sit at the root of the repository, where a reader looks for what the analyzer declines and where the products that consume them read them. The command's own package cannot carry them from there: an embed pattern reaches no file above the directory of the package that declares it, and the digest a report states has to be taken over the bytes the binary holds, because a digest written beside the document it describes is a second copy of one fact and the two can disagree at any commit. This package exists for that one reason and holds nothing else.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Gaps []byte
Gaps is conformance.json: the corpus version this analyzer answers and every capability it declines, with the reason for each.
var Results []byte
Results is conformance-results.json: the per-fixture record this analyzer's corpus runner wrote, the result over the whole corpus included. The digest a report states in its conformance block is the SHA-256 of these bytes.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
deadset-go
command
Command deadset-go reports unused symbols in a Go module and its declared consumers.
|
Command deadset-go reports unused symbols in a Go module and its declared consumers. |
|
internal
|
|
|
catalog
Package catalog is the issue-kind vocabulary this analyzer reports under: one row per live kind, carrying the languages it applies to, the default a configuration overrides, the ceiling on the confidence a finding of the kind may claim, and what a mechanical edit may do with it.
|
Package catalog is the issue-kind vocabulary this analyzer reports under: one row per live kind, carrying the languages it applies to, the default a configuration overrides, the ceiling on the confidence a finding of the kind may claim, and what a mechanical edit may do with it. |
|
config
Package config resolves the deadset configuration.
|
Package config resolves the deadset configuration. |
|
deps
Package deps answers what a target's dependency declarations and its module graph say: which direct requirement no import needs, which replace directive redirects nothing, and which modules a deletion candidate holds the last use of.
|
Package deps answers what a target's dependency declarations and its module graph say: which direct requirement no import needs, which replace directive redirects nothing, and which modules a deletion candidate holds the last use of. |
|
edges
Package edges reads the declared cross-language edges of one target: the pairs that say one symbol exists because a symbol in another language uses it.
|
Package edges reads the declared cross-language edges of one target: the pairs that say one symbol exists because a symbol in another language uses it. |
|
exempt
Package exempt computes the exemptions of one loaded build configuration: the classes of reason for which a symbol the reference graph alone would report is live all the same.
|
Package exempt computes the exemptions of one loaded build configuration: the classes of reason for which a symbol the reference graph alone would report is live all the same. |
|
graph
Package graph builds the graph of one loaded build configuration: the symbols a target declares, the references between them, and what the roots keep alive.
|
Package graph builds the graph of one loaded build configuration: the symbols a target declares, the references between them, and what the roots keep alive. |
|
kinds
Package kinds turns one run's liveness answers into the findings a report carries.
|
Package kinds turns one run's liveness answers into the findings a report carries. |
|
load
Package load resolves one build configuration of a target into type-checked packages, test variants included.
|
Package load resolves one build configuration of a target into type-checked packages, test variants included. |
|
matrix
Package matrix derives a build matrix from a target tree: the platform and tag atoms its files name, plus the configuration of the host.
|
Package matrix derives a build matrix from a target tree: the platform and tag atoms its files name, plus the configuration of the host. |
|
report
Package report is the document one analysis produces and the five renderings of it.
|
Package report is the document one analysis produces and the five renderings of it. |
|
scope
Package scope resolves what a run loads: the module it analyzes and the consumers whose references count against it.
|
Package scope resolves what a run loads: the module it analyzes and the consumers whose references count against it. |
|
suppress
Package suppress reads the two suppression mechanisms of one target: the inline directives its source carries, and the entries of the ignore file at its root.
|
Package suppress reads the two suppression mechanisms of one target: the inline directives its source carries, and the entries of the ignore file at its root. |