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

Method deleteBranch

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

Source from the content-addressed store, hash-verified

988 }
989
990 async deleteBranch(branch: string) {
991 await this.request({
992 method: 'DELETE',
993 url: `${this.repoURL}/repository/branches/${encodeURIComponent(branch)}`,
994 });
995 }
996
997 async deleteUnpublishedEntry(collectionName: string, slug: string) {
998 const contentKey = generateContentKey(collectionName, slug);

Callers 1

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected