package
6.0.0-20220823060123-ee3621dd571c
Repository: https://github.com/accel-byte/go-git.git
Documentation: pkg.go.dev
# Functions
LoadConfig loads a config file from a given scope.
MatchAny returns true if any of the RefSpec match with the given ReferenceName.
NewConfig returns a new empty Config.
NewModules returns a new empty Modules.
Paths returns the config file location for a given scope.
ReadConfig reads a config file from a io.Reader.
# Constants
DefaultFetchRefSpec is the default refspec used for fetch.
DefaultPackWindow holds the number of previous objects used to generate deltas.
DefaultPushRefSpec is the default refspec used for push.
Available ConfigScope's.
Available ConfigScope's.
Available ConfigScope's.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Branch contains information on the local branches and which remote to track.
Config contains the repository configuration https://www.kernel.org/pub/software/scm/git/docs/git-config.html#FILES.
Modules defines the submodules properties, represents a .gitmodules file https://www.kernel.org/pub/software/scm/git/docs/gitmodules.html.
RemoteConfig contains the configuration for a given remote repository.
Submodule defines a submodule.
Url defines Url rewrite rules.
# Interfaces
ConfigStorer generic storage of Config object.