MCPcopy Create free account
hub / github.com/chainreactors/spray / formatFull

Function formatFull

core/format.go:223–236  ·  view source on GitHub ↗

formatFull renders results in full/original format

(group map[string]map[string]*baseline.Baseline, opts Option)

Source from the content-addressed store, hash-verified

221
222// formatFull renders results in full/original format
223func formatFull(group map[string]map[string]*baseline.Baseline, opts Option) {
224 for _, results := range group {
225 for _, result := range results {
226 if !opts.Fuzzy && result.IsFuzzy {
227 continue
228 }
229 if !opts.NoColor {
230 logs.Log.Console(result.ColorString() + "\n")
231 } else {
232 logs.Log.Console(result.String() + "\n")
233 }
234 }
235 }
236}
237
238// formatProbe renders results with custom probe fields
239func formatProbe(group map[string]map[string]*baseline.Baseline, opts Option, probeFields string) {

Callers 1

FormatFunction · 0.85

Calls 2

ColorStringMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected