(
key: IntegrationTaskKey,
params: {
owner: string;
repo: string;
fileSHA: string;
}
)
| 72 | } |
| 73 | |
| 74 | getBlob( |
| 75 | key: IntegrationTaskKey, |
| 76 | params: { |
| 77 | owner: string; |
| 78 | repo: string; |
| 79 | fileSHA: string; |
| 80 | } |
| 81 | ): GitHubReturnType<Octokit["rest"]["git"]["getBlob"]> { |
| 82 | return this.runTask( |
| 83 | key, |
| 84 | async (client, task) => { |
| 85 | const result = await client.rest.git.getBlob({ |
| 86 | owner: params.owner, |
| 87 | repo: params.repo, |
| 88 | file_sha: params.fileSHA, |
| 89 | }); |
| 90 | return result.data; |
| 91 | }, |
| 92 | { |
| 93 | name: "Get Blob", |
| 94 | params, |
| 95 | properties: [...repoProperties(params)], |
| 96 | }, |
| 97 | onError |
| 98 | ); |
| 99 | } |
| 100 | |
| 101 | createCommit( |
| 102 | key: IntegrationTaskKey, |
nothing calls this directly
no test coverage detected