String returns a git diff format of this fragment. Due to differences in zlib implementation between Go and Git, encoded binary data in the result will likely differ from what Git produces for the same input. See [File.String] for more details on this format.
()
| 224 | // will likely differ from what Git produces for the same input. See |
| 225 | // [File.String] for more details on this format. |
| 226 | func (f *BinaryFragment) String() string { |
| 227 | var diff strings.Builder |
| 228 | newFormatter(&diff).FormatBinaryFragment(f) |
| 229 | return diff.String() |
| 230 | } |
nothing calls this directly
no test coverage detected