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

Function NewService

internal/metadata/refresh.go:32–34  ·  view source on GitHub ↗

NewService constructs a metadata Service with the default GitHub fetcher.

(store *Store)

Source from the content-addressed store, hash-verified

30
31// NewService constructs a metadata Service with the default GitHub fetcher.
32func NewService(store *Store) *Service {
33 return &Service{store: store, fetcher: defaultFetcher{}}
34}
35
36// WithFetcher overrides the repository fetcher (used in tests).
37func (svc *Service) WithFetcher(f RepoFetcher) *Service {

Calls

no outgoing calls