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

Function NewNotAvailable

finding/finding.go:154–157  ·  view source on GitHub ↗

NewNotAvailable create a finding with a NotAvailable outcome and the desired location.

(efs embed.FS, probeID, text string, loc *Location,
)

Source from the content-addressed store, hash-verified

152
153// NewNotAvailable create a finding with a NotAvailable outcome and the desired location.
154func NewNotAvailable(efs embed.FS, probeID, text string, loc *Location,
155) (*Finding, error) {
156 return NewWith(efs, probeID, text, loc, OutcomeNotAvailable)
157}
158
159// NewNotSupported create a finding with a NotSupported outcome and the desired location.
160func NewNotSupported(efs embed.FS, probeID, text string, loc *Location,

Callers 1

codeReviewRunFunction · 0.92

Calls 1

NewWithFunction · 0.85

Tested by

no test coverage detected