MCPcopy Create free account
hub / github.com/alibaba/open-code-review / WithAttributeSource

Method WithAttributeSource

internal/gitcmd/runner.go:64–68  ·  view source on GitHub ↗
(revision string)

Source from the content-addressed store, hash-verified

62}
63
64func (r *Runner) WithAttributeSource(revision string) *Runner {
65 view := *r
66 view.configArgs = append(slices.Clone(r.configArgs), "--attr-source="+revision)
67 return &view
68}
69
70func (r *Runner) LocalForRepository(ctx context.Context, repo string) (*Runner, error) {
71 for _, key := range []string{

Callers 1

prepareCodeToolsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected