MCPcopy Create free account
hub / github.com/google/go-cmp / formatExpandedTo

Method formatExpandedTo

cmp/report_text.go:91–91  ·  view source on GitHub ↗

formatExpandedTo formats the contents of the tree as a multi-line string to the provided buffer. In order for column alignment to operate well, formatCompactTo must be called before calling formatExpandedTo.

([]byte, diffMode, indentMode)

Source from the content-addressed store, hash-verified

89 // to the provided buffer. In order for column alignment to operate well,
90 // formatCompactTo must be called before calling formatExpandedTo.
91 formatExpandedTo([]byte, diffMode, indentMode) []byte
92}
93
94// textWrap is a wrapper that concatenates a prefix and/or a suffix

Callers 3

StringMethod · 0.65
formatExpandedToMethod · 0.65
formatExpandedToMethod · 0.65

Implementers 1

textWrapcmp/report_text.go

Calls

no outgoing calls

Tested by

no test coverage detected