Documentation
¶
Index ¶
Constants ¶
View Source
const ( DiffModeAll = "all" DiffModeStaged = "staged" DiffModeUnstaged = "unstaged" )
View Source
const ( DiffStyleDefault = "default" DiffStylePatch = "patch" DiffStyleFilled = "filled" )
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶
Types ¶
type Config ¶
type Config struct {
Interactive *bool `json:"interactive,omitempty"`
Unified *bool `json:"unified,omitempty"`
NoColor *bool `json:"no_color,omitempty"`
DiffMode string `json:"diff_mode,omitempty"`
DiffStyle string `json:"diff_style,omitempty"`
AddedTextColor string `json:"added_text_color,omitempty"`
DeletedTextColor string `json:"deleted_text_color,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.