Add godoc comments to exported symbols in pkg/cmd/pr

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Kynan Ware 2026-03-04 15:53:47 -07:00
parent 16c6500c82
commit 5de7a10080
36 changed files with 200 additions and 5 deletions

View file

@ -8,11 +8,13 @@ import (
var _ GitConfigClient = &CachedBranchConfigGitConfigClient{}
// CachedBranchConfigGitConfigClient wraps a GitConfigClient to return a pre-fetched BranchConfig instead of querying git.
type CachedBranchConfigGitConfigClient struct {
CachedBranchConfig git.BranchConfig
GitConfigClient
}
// ReadBranchConfig returns the cached BranchConfig, ignoring the branch name argument.
func (c CachedBranchConfigGitConfigClient) ReadBranchConfig(ctx context.Context, branchName string) (git.BranchConfig, error) {
return c.CachedBranchConfig, nil
}