MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / WithFetcher

Method WithFetcher

internal/metadata/refresh.go:37–40  ·  view source on GitHub ↗

WithFetcher overrides the repository fetcher (used in tests).

(f RepoFetcher)

Source from the content-addressed store, hash-verified

35
36// WithFetcher overrides the repository fetcher (used in tests).
37func (svc *Service) WithFetcher(f RepoFetcher) *Service {
38 svc.fetcher = f
39 return svc
40}
41
42type defaultFetcher struct{}
43

Calls

no outgoing calls