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

Method deleteBranch

packages/decap-cms-backend-bitbucket/src/API.ts:780–785  ·  view source on GitHub ↗
(branch: string)

Source from the content-addressed store, hash-verified

778 }
779
780 async deleteBranch(branch: string) {
781 await this.request({
782 method: 'DELETE',
783 url: `${this.repoURL}/refs/branches/${branch}`,
784 });
785 }
786
787 async deleteUnpublishedEntry(collectionName: string, slug: string) {
788 const contentKey = generateContentKey(collectionName, slug);

Callers 1

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected