The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Package redact finds secrets in text and replaces them with markers. It
is used by seeders, which report where a secret is but never its value,
and by the provider wrapper, which redacts everything sent to a model.
Marker returns the replacement text for a secret found by rule whose
value hashes to hash. Seeders that redact a value they located by
structure (a YAML node, an ENV instruction) use it so every redaction in
Spackle looks the same and is skipped by a later Apply.
type Match struct {
Rule string// rule name, see Rules Start int// byte offset of the secret in the scanned text End int// byte offset just past the secret Line int// 1-based line of Start Hash string// first 8 hex digits of sha256(value)}
Match is one secret found in a text. It deliberately has no field for the
value: the hash is enough to tell two secrets apart and to recognize the
same secret in two places without ever storing it.
Scan returns the secrets in text, sorted by Start and non-overlapping.
When candidates overlap, the one that starts earliest wins, then the
longest, then the more specific rule.