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

Function scenario_add_unusual_chars

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

Source from the content-addressed store, hash-verified

151
152
153def scenario_add_unusual_chars(repo: Repository) -> None:
154 repo.add(create_file(repo, "I'm unusual!"))
155 repo.create_commit()
156
157
158def scenario_add_two(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