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

Function scenario_add

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

Source from the content-addressed store, hash-verified

146
147
148def scenario_add(repo: Repository) -> None:
149 repo.add(create_file(repo))
150 repo.create_commit()
151
152
153def scenario_add_unusual_chars(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