MCPcopy Create free account
hub / github.com/easyp-tech/server / DownloadContents

Method DownloadContents

internal/providers/github/client.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, owner, repo, filepath string, opts *github.RepositoryContentGetOptions)

Source from the content-addressed store, hash-verified

20 Get(ctx context.Context, owner, repo string) (*github.Repository, *github.Response, error)
21 GetBranch(ctx context.Context, owner, repo, branch string, maxRedirects int) (*github.Branch, *github.Response, error)
22 DownloadContents(ctx context.Context, owner, repo, filepath string, opts *github.RepositoryContentGetOptions) (io.ReadCloser, *github.Response, error)
23}
24
25//nolint:lll

Callers 1

getFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected