MCPcopy Create free account
hub / github.com/go-git/go-git / Config

Method Config

storage/filesystem/dotgit/dotgit.go:180–182  ·  view source on GitHub ↗

Config returns a file pointer for read to the config file

()

Source from the content-addressed store, hash-verified

178
179// Config returns a file pointer for read to the config file
180func (d *DotGit) Config() (billy.File, error) {
181 return d.fs.Open(configPath)
182}
183
184// IndexWriter returns a file pointer for write to the index file
185func (d *DotGit) IndexWriter() (billy.File, error) {

Callers

nothing calls this directly

Calls 1

OpenMethod · 0.45

Tested by

no test coverage detected