MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / get_all_files

Function get_all_files

pre_commit/git.py:154–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152
153
154def get_all_files() -> list[str]:
155 return zsplit(cmd_output('git', 'ls-files', '-z')[1])
156
157
158def get_changed_files(old: str, new: str) -> list[str]:

Callers

nothing calls this directly

Calls 2

cmd_outputFunction · 0.90
zsplitFunction · 0.85

Tested by

no test coverage detected