Method
getFiles
(
ctx context.Context,
owner string,
repoName string,
commit string,
entries []content.FileEntry,
)
Source from the content-addressed store, hash-verified
| 62 | } |
| 63 | |
| 64 | func (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 | |
| 76 | func (c client) getFile( |
| 77 | ctx context.Context, |
Tested by
no test coverage detected