MCPcopy
hub / github.com/github/git-sizer / Remove

Method Remove

internal/testutils/repoutils.go:64–68  ·  view source on GitHub ↗

Remove deletes the test repository at `repo.Path`.

(t *testing.T)

Source from the content-addressed store, hash-verified

62
63// Remove deletes the test repository at `repo.Path`.
64func (repo *TestRepo) Remove(t *testing.T) {
65 t.Helper()
66
67 _ = os.RemoveAll(repo.Path)
68}
69
70// Clone creates a clone of `repo` at a temporary path constructued
71// using `pattern`. The caller is responsible for removing it when

Callers 5

TestRefSelectionsFunction · 0.95
TestRefgroupsFunction · 0.95
TestBombFunction · 0.95
TestTaggedTagsFunction · 0.95
TestFromSubdirFunction · 0.95

Calls

no outgoing calls

Tested by 5

TestRefSelectionsFunction · 0.76
TestRefgroupsFunction · 0.76
TestBombFunction · 0.76
TestTaggedTagsFunction · 0.76
TestFromSubdirFunction · 0.76