# Functions
New creates a new config instance.
NewDecoder returns a new decoder that reads from r.
NewEncoder returns a new encoder that writes to w.
# Constants
DefaultObjectFormat holds the default object format.
DefaultRepositoryFormatVersion holds the default repository format version.
NoSubsection token is passed to Config.Section and Config.SetSection to represent the absence of a section.
SHA1 represents the object format used for SHA1.
SHA256 represents the object format used for SHA256.
Version_0 is the format defined by the initial version of git, including but not limited to the format of the repository directory, the repository configuration file, and the object and ref storage.
Version_1 is identical to version 0, with the following exceptions:
1.
# Structs
Config contains all the sections, comments and includes from a config file.
A Decoder reads and decodes config files from an input stream.
An Encoder writes config files to an output stream.
Include is a reference to an included config file.
Option defines a key/value entity in a config file.
Section is the representation of a section inside git configuration files.
No description provided by the author
# Type aliases
Comment string without the prefix '#' or ';'.
Includes is a list of Includes in a config file.
ObjectFormat defines the object format.
No description provided by the author
RepositoryFormatVersion represents the repository format version, as per defined at:
https://git-scm.com/docs/repository-version.
No description provided by the author
No description provided by the author