MCPcopy Create free account
hub / github.com/EdgeTX/buddy / createGithubClient

Function createGithubClient

src/shared/api/github.ts:5–14  ·  view source on GitHub ↗
(auth?: string)

Source from the content-addressed store, hash-verified

3
4// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
5export const createGithubClient = (auth?: string) => {
6 const octokit = new Octokit({
7 auth,
8 request: {
9 fetch: ky,
10 },
11 });
12
13 return octokit.request;
14};
15
16export type GithubClient = ReturnType<typeof createGithubClient>;

Callers 3

backend.worker.tsFile · 0.90
startBackendFunction · 0.90
createContextFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected