RenderBinaryFile renders a placeholder for binary files.
(styles Styles, width int)
| 255 | |
| 256 | // RenderBinaryFile renders a placeholder for binary files. |
| 257 | func RenderBinaryFile(styles Styles, width int) string { |
| 258 | return styles.DiffHunkHeader.Width(width).Render(" Binary file — cannot display diff") |
| 259 | } |
| 260 | |
| 261 | // --- Split (side-by-side) diff --- |
| 262 |
no outgoing calls