MCPcopy Create free account
hub / github.com/OWASP/APTS / write_bytes

Function write_bytes

scripts/_ci_utils.py:42–43  ·  view source on GitHub ↗
(path: str | Path, contents: bytes)

Source from the content-addressed store, hash-verified

40
41
42def write_bytes(path: str | Path, contents: bytes) -> None:
43 repo_path(path).write_bytes(contents)
44
45
46def masked_fenced_lines(text: str) -> list[LineWithNumber]:

Callers 1

restore_original_filesFunction · 0.90

Calls 1

repo_pathFunction · 0.85

Tested by

no test coverage detected