MCPcopy Create free account
hub / github.com/belak/gitdir / Config

Struct Config

cmd/gitdir/config.go:21–28  ·  view source on GitHub ↗

Config stores all the server-level settings. These cannot be changed at runtime. They are only used by the binary and are passed to the proper places.

Source from the content-addressed store, hash-verified

19// runtime. They are only used by the binary and are passed to the proper
20// places.
21type Config struct {
22 BindAddr string
23 BasePath string
24 LogFormat string
25 LogDebug bool
26 AdminUser string
27 AdminPublicKey *models.PublicKey
28}
29
30// FS returns the billy.Filesystem for this base path.
31func (c Config) FS() billy.Filesystem {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected