MCPcopy Index your code
hub / github.com/github-tools/github / deleteRepo

Function deleteRepo

test/helpers/helperFunctions.js:12–21  ·  view source on GitHub ↗
(repo, github)

Source from the content-addressed store, hash-verified

10}
11
12export function deleteRepo(repo, github) {
13 return github
14 .getRepo(repo.owner.login, repo.name)
15 .deleteRepo()
16 .then((removed) => {
17 if (removed) {
18 console.log(repo.full_name, 'deleted'); // eslint-disable-line
19 }
20 });
21}
22
23export function deleteTeam(team, github) {
24 return github

Callers

nothing calls this directly

Calls 2

deleteRepoMethod · 0.80
getRepoMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…