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

Method deleteBranch

packages/decap-cms-backend-gitlab/src/API.ts:1000–1005  ·  view source on GitHub ↗
(branch: string)

Source from the content-addressed store, hash-verified

998 }
999
1000 async deleteBranch(branch: string) {
1001 await this.request({
1002 method: 'DELETE',
1003 url: `${this.repoURL}/repository/branches/${encodeURIComponent(branch)}`,
1004 });
1005 }
1006
1007 async deleteUnpublishedEntry(collectionName: string, slug: string) {
1008 const contentKey = generateContentKey(collectionName, slug);

Callers 1

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected