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

Method getFiles

internal/providers/github/getfiles.go:64–74  ·  view source on GitHub ↗
(
	ctx context.Context,
	owner string,
	repoName string,
	commit string,
	entries []content.FileEntry,
)

Source from the content-addressed store, hash-verified

62}
63
64func (c client) getFiles(
65 ctx context.Context,
66 owner string,
67 repoName string,
68 commit string,
69 entries []content.FileEntry,
70) ([]content.File, error) {
71 return content.GetFiles(ctx, entries, func(ctx context.Context, orig string) ([]byte, error) {
72 return c.getFile(ctx, owner, repoName, commit, orig)
73 })
74}
75
76func (c client) getFile(
77 ctx context.Context,

Callers 1

GetFilesMethod · 0.95

Calls 2

getFileMethod · 0.95
GetFilesFunction · 0.92

Tested by

no test coverage detected