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

Method deleteRef

packages/decap-cms-backend-github/src/API.ts:1261–1265  ·  view source on GitHub ↗
(type: string, name: string)

Source from the content-addressed store, hash-verified

1259 }
1260
1261 deleteRef(type: string, name: string) {
1262 return this.request(`${this.repoURL}/git/refs/${type}/${encodeURIComponent(name)}`, {
1263 method: 'DELETE',
1264 });
1265 }
1266
1267 async getBranch(branch: string) {
1268 const result: Endpoints['GET /repos/{owner}/{repo}/branches/{branch}']['response']['data'] =

Callers 1

deleteBranchMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected