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

Function New

internal/fetching/fetching.go:29–35  ·  view source on GitHub ↗

New returns a Client with sane defaults.

()

Source from the content-addressed store, hash-verified

27
28// New returns a Client with sane defaults.
29func New() *Client {
30 return &Client{
31 HTTPClient: &http.Client{Timeout: 60 * time.Second},
32 Timeout: 60 * time.Second,
33 UserAgent: "code-agent-manager-go",
34 }
35}
36
37// DownloadGitHubZip fetches an owner/repo/branch zip and extracts it under
38// destRoot. The returned path is the root of the extracted tree (which

Calls

no outgoing calls