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

Function scenario_add_two

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

Source from the content-addressed store, hash-verified

156
157
158def scenario_add_two(repo: Repository) -> None:
159 repo.add(create_file(repo, "one"))
160 repo.add(create_file(repo, "two"))
161 repo.create_commit()
162
163
164def scenario_modify(repo: Repository) -> None:

Callers

nothing calls this directly

Calls 3

create_fileFunction · 0.85
create_commitMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected