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

Method WithMessage

finding/finding.go:181–184  ·  view source on GitHub ↗

WithMessage adds a message to an existing finding. No copy is made.

(text string)

Source from the content-addressed store, hash-verified

179// WithMessage adds a message to an existing finding.
180// No copy is made.
181func (f *Finding) WithMessage(text string) *Finding {
182 f.Message = text
183 return f
184}
185
186// UniqueProbesEqual checks the probe names present in a list of findings
187// and compare them against an expected list.

Callers 15

ParseFromFileFunction · 0.80
parseFromYAMLFunction · 0.80
GetEnabledFunction · 0.80
PackagingFunction · 0.80
MaintainedFunction · 0.80
BranchProtectionFunction · 0.80
SASTFunction · 0.80
CIIBestPracticesFunction · 0.80
CITestsFunction · 0.80
SignedReleasesFunction · 0.80

Calls

no outgoing calls

Tested by 1

Test_FromBytesFunction · 0.64