MakeFormat is a helper for use by implementations of the SafeFormatter interface. It reproduces the format currently active in fmt.State and verb. This is provided because Go's standard fmt.State does not make the original format string available to us. If the return value justV is true, then the c
(s fmt.State, verb rune)
| 184 | // can avoid a full-blown Printf call and use just Print instead |
| 185 | // to take a shortcut. |
| 186 | func MakeFormat(s fmt.State, verb rune) (justV bool, format string) { |
| 187 | return fw.MakeFormat(s, verb) |
| 188 | } |
| 189 | |
| 190 | // StringBuilder accumulates strings with optional redaction markers. |
| 191 | // |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…