Documentation ¶
Overview ¶
Package util implements some utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContextDir ¶
func Render ¶
Render renders the slice of chunks into a representation that prefixes the lines with '+', '-', or ' ' depending on whether the line was added, removed, or equal (respectively).
func WriteTempFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.