MCPcopy
hub / github.com/go-git/go-git / Config

Method Config

repository.go:558–560  ·  view source on GitHub ↗

Config return the repository config. In a filesystem backed repository this means read the `.git/config`.

()

Source from the content-addressed store, hash-verified

556// Config return the repository config. In a filesystem backed repository this
557// means read the `.git/config`.
558func (r *Repository) Config() (*config.Config, error) {
559 return r.Storer.Config()
560}
561
562// SetConfig marshall and writes the repository config. In a filesystem backed
563// repository this means write the `.git/config`. This function should be called

Callers 14

RemoteMethod · 0.95
RemotesMethod · 0.95
CreateRemoteMethod · 0.95
DeleteRemoteMethod · 0.95
BranchMethod · 0.95
CreateBranchMethod · 0.95
DeleteBranchMethod · 0.95
setIsBareMethod · 0.95
WorktreeMethod · 0.95
createNewObjectPackMethod · 0.95
TestDefaultRemoteMethod · 0.95

Calls 1

ConfigMethod · 0.65