MCPcopy Create free account
hub / github.com/apache/kvrocks / get_source_files

Function get_source_files

x.py:171–179  ·  view source on GitHub ↗
(dir: Path)

Source from the content-addressed store, hash-verified

169
170
171def get_source_files(dir: Path) -> List[str]:
172 return [
173 *glob(str(dir / "src/**/*.h"), recursive=True),
174 *glob(str(dir / "src/**/*.cc"), recursive=True),
175 *glob(str(dir / "tests/cppunit/**/*.h"), recursive=True),
176 *glob(str(dir / "tests/cppunit/**/*.cc"), recursive=True),
177 *glob(str(dir / "utils/kvrocks2redis/**/*.h"), recursive=True),
178 *glob(str(dir / "utils/kvrocks2redis/**/*.cc"), recursive=True),
179 ]
180
181
182def clang_format(clang_format_path: str, fix: bool = False) -> None:

Callers 1

clang_formatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected