MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / createTree

Method createTree

integrations/github/src/git.ts:408–430  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    params: {
      owner: string;
      repo: string;
      tree: TreeType[];
      baseTree?: string;
    }
  )

Source from the content-addressed store, hash-verified

406 }
407
408 createTree(
409 key: IntegrationTaskKey,
410 params: {
411 owner: string;
412 repo: string;
413 tree: TreeType[];
414 baseTree?: string;
415 }
416 ): GitHubReturnType<Octokit["rest"]["git"]["createTree"]> {
417 return this.runTask(
418 key,
419 async (client, task) => {
420 const result = await client.rest.git.createTree(params);
421 return result.data;
422 },
423 {
424 name: "Create Tree",
425 params,
426 properties: [...repoProperties(params)],
427 },
428 onError
429 );
430 }
431
432 getTree(
433 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 2

repoPropertiesFunction · 0.90
runTaskMethod · 0.45

Tested by

no test coverage detected