MCPcopy Create free account
hub / github.com/Durafen/Claude-code-memory / _detect_project_root

Method _detect_project_root

utils/memory_guard.py:189–226  ·  view source on GitHub ↗

Detect the project root directory using Claude-first weighted scoring.

(self, file_path: str | None = None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

process_hookMethod · 0.95

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected