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

Function scenario_chmod

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

Source from the content-addressed store, hash-verified

187
188
189def scenario_chmod(repo: Repository) -> None:
190 path = create_file(repo)
191 repo.add(path)
192 repo.create_commit()
193 path.chmod(0o755)
194 repo.add(path)
195 repo.create_commit()
196
197
198def scenario_rename_chmod_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