MCPcopy
hub / github.com/GitGuardian/ggshield / scenario_remove

Function scenario_remove

tests/unit/core/scan/test_commit.py:173–178  ·  view source on GitHub ↗
(repo: Repository)

Source from the content-addressed store, hash-verified

171
172
173def scenario_remove(repo: Repository) -> None:
174 path = create_file(repo)
175 repo.add(path)
176 repo.create_commit()
177 repo.git("rm", path)
178 repo.create_commit()
179
180
181def scenario_rename(repo: Repository) -> None:

Callers

nothing calls this directly

Calls 4

create_fileFunction · 0.85
create_commitMethod · 0.80
gitMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected