MCPcopy
hub / github.com/pelletier/go-toml / formattingCapture

Struct formattingCapture

unmarshaler_test.go:5096–5098  ·  view source on GitHub ↗

formattingCapture captures the raw TOML bytes to verify formatting preservation

Source from the content-addressed store, hash-verified

5094
5095// formattingCapture captures the raw TOML bytes to verify formatting preservation
5096type formattingCapture struct {
5097 RawBytes string
5098}
5099
5100func (f *formattingCapture) UnmarshalTOML(data []byte) error {
5101 f.RawBytes = string(data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected