MCPcopy Index your code
hub / github.com/CodeClash-ai/CodeClash / remove_binaries

Function remove_binaries

scripts/push_log_to_gh.py:16–18  ·  view source on GitHub ↗

Remove binary files from diff patch string

(patch: PatchSet)

Source from the content-addressed store, hash-verified

14
15
16def remove_binaries(patch: PatchSet) -> PatchSet:
17 """Remove binary files from diff patch string"""
18 return PatchSet("\n".join([str(file) for file in patch if "Binary files" not in str(file)]))
19
20
21def main(cc_folder: Path):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected