MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / get_project_root

Function get_project_root

methods/MIRIX/scripts/clean_cache.py:39–42  ·  view source on GitHub ↗

Get the project root directory.

()

Source from the content-addressed store, hash-verified

37
38
39def get_project_root() -> Path:
40 """Get the project root directory."""
41 # Script is in scripts/ directory, so parent is project root
42 return Path(__file__).parent.parent.resolve()
43
44
45def remove_directories(root: Path, pattern: str) -> int:

Callers 1

clean_cacheFunction · 0.85

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected