MCPcopy Create free account
hub / github.com/decaporg/decap-cms / deleteBranch

Method deleteBranch

packages/decap-cms-backend-forgejo/src/API.ts:568–572  ·  view source on GitHub ↗
(branchName: string)

Source from the content-addressed store, hash-verified

566 }
567
568 async deleteBranch(branchName: string): Promise<void> {
569 await this.request(`${this.repoURL}/branches/${encodeURIComponent(branchName)}`, {
570 method: 'DELETE',
571 });
572 }
573
574 async getPullRequests(
575 state: 'open' | 'closed' | 'all' = 'open',

Callers 4

APIClass · 0.95
API.spec.jsFile · 0.45

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected