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

Struct dedupFetcher

internal/metadata/refresh_test.go:25–25  ·  view source on GitHub ↗

dedupFetcher serves two repos: an awesome-list "pointer" catalog whose single row links to a real source repo, and that source repo scanned directly with a concrete SKILL.md. Both should resolve to the same indexed item.

Source from the content-addressed store, hash-verified

23// row links to a real source repo, and that source repo scanned directly with a
24// concrete SKILL.md. Both should resolve to the same indexed item.
25type dedupFetcher struct{}
26
27func (dedupFetcher) Fetch(owner, repo, branch, dest string) (string, error) {
28 root := filepath.Join(dest, repo+"-"+branch)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected