MCPcopy Create free account
hub / github.com/emwalker/digraph / delete

Function delete

backend/tests/git/repo.rs:33–40  ·  view source on GitHub ↗
(f: &Fixtures, repo_id: RepoId, actor: &Arc<Viewer>, user_id: &str)

Source from the content-addressed store, hash-verified

31 use super::*;
32
33 fn delete(f: &Fixtures, repo_id: RepoId, actor: &Arc<Viewer>, user_id: &str) -> Result<()> {
34 git::DeleteAccount {
35 actor: Arc::clone(actor),
36 user_id: user_id.to_owned(),
37 personal_repos: RepoIds::from(&vec![repo_id]),
38 }
39 .call(&f.mutation())
40 }
41
42 #[test]
43 fn repo_deleted() {

Callers 5

delete_repoMethod · 0.85
repo_deletedFunction · 0.85
invalid_userFunction · 0.85
wiki_repoFunction · 0.85
idempotencyFunction · 0.85

Calls 2

callMethod · 0.45
mutationMethod · 0.45

Tested by

no test coverage detected