MCPcopy
hub / github.com/caddyserver/caddy / FuzzFormat

Function FuzzFormat

caddyconfig/caddyfile/formatter_fuzz.go:21–27  ·  view source on GitHub ↗
(input []byte)

Source from the content-addressed store, hash-verified

19import "bytes"
20
21func FuzzFormat(input []byte) int {
22 formatted := Format(input)
23 if bytes.Equal(formatted, Format(formatted)) {
24 return 1
25 }
26 return 0
27}

Callers

nothing calls this directly

Calls 2

FormatFunction · 0.85
EqualMethod · 0.45

Tested by

no test coverage detected