Documentation ¶
Index ¶
Constants ¶
View Source
const TempFilePrefix = "harrow-diff-"
TempFilePrefix is the filename prefix used for temporary files written for interfacing with the `diff` tool.
Variables ¶
View Source
var ( Addition = ChangeType("added") Removal = ChangeType("removed") Context = ChangeType("context") )
Functions ¶
Types ¶
type Change ¶
type Change struct { Kind ChangeType Line int Text string }
func (*Change) MarshalJSON ¶
func (*Change) UnmarshalJSON ¶
type ChangeType ¶
type ChangeType string
Click to show internal directories.
Click to hide internal directories.