MCPcopy Create free account
hub / github.com/cli/cli / CachedBranchConfigGitConfigClient

Struct CachedBranchConfigGitConfigClient

pkg/cmd/pr/shared/git_cached_config_client.go:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9var _ GitConfigClient = &CachedBranchConfigGitConfigClient{}
10
11type CachedBranchConfigGitConfigClient struct {
12 CachedBranchConfig git.BranchConfig
13 GitConfigClient
14}
15
16func (c CachedBranchConfigGitConfigClient) ReadBranchConfig(ctx context.Context, branchName string) (git.BranchConfig, error) {
17 return c.CachedBranchConfig, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected