Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Email ¶
Email extracts git user email from `$HOME/.gitconfig` file or `$GIT_CONFIG`. This is same as Global("user.email")
func Entire ¶
Entire extracts configuration value from `$HOME/.gitconfig` file , `$GIT_CONFIG`, /etc/gitconfig or include.path files.
Types ¶
type ErrNotFound ¶
type ErrNotFound struct {
Key string
}
ErrNotFound error not found
func (*ErrNotFound) Error ¶
func (e *ErrNotFound) Error() string
Click to show internal directories.
Click to hide internal directories.