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 logbuf keeps the most recent lines the app logged, in memory, with
secrets taken out, so the Settings page can hand them to a person for a
support request without a trip to the NAS log viewer.
Scrub takes secrets out of one log line: passwords, API keys and tokens
given as name=value, the query and login parts of URLs, authorization
headers and long hexadecimal strings. It is deliberately greedy: a line that
loses a harmless word is better than one that leaks a key.
type Buffer struct {
// contains filtered or unexported fields
}
Buffer is a ring of the last n log lines. It is an io.Writer, so it can sit
next to stderr in log.SetOutput. Every line is scrubbed of secrets as it
comes in, so nothing sensitive is ever held here.
ScrubWriter passes what it is given on to W with secrets taken out (see
Scrub). Wrap the process's stderr in it so what `docker logs` shows, which
people paste into bug reports, is as clean as the in-memory copy. Each Write
is taken to be whole log lines, which is how the log packages write.