MCPcopy
hub / github.com/ossf/scorecard / Doc

Interface Doc

docs/checks/doc.go:19–23  ·  view source on GitHub ↗

Doc defines the documentation interface.

Source from the content-addressed store, hash-verified

17
18// Doc defines the documentation interface.
19type Doc interface {
20 GetCheck(name string) (CheckDoc, error)
21 GetChecks() []CheckDoc
22 CheckExists(name string) bool
23}
24
25// CheckDoc defines the documentation interface for a check.
26type CheckDoc interface {

Callers 10

AsJSON2Function · 0.65
AsSARIFMethod · 0.65
GetAggregateScoreMethod · 0.65
AsStringMethod · 0.65
resultsToJSON2Method · 0.65
mainFunction · 0.65
mainFunction · 0.65
GetEnabledFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65

Implementers 3

mockDoccron/internal/format/mock_doc.go
mockDocpkg/scorecard/mock_doc.go
DocImpldocs/checks/impl.go

Calls

no outgoing calls

Tested by

no test coverage detected