MCPcopy
hub / github.com/github/spec-kit / _repo_root

Function _repo_root

src/specify_cli/_assets.py:30–32  ·  view source on GitHub ↗

Return the source checkout root used for editable installs.

()

Source from the content-addressed store, hash-verified

28
29
30def _repo_root() -> Path:
31 """Return the source checkout root used for editable installs."""
32 return Path(__file__).parent.parent.parent
33
34
35def _locate_bundled_extension(extension_id: str) -> Path | None:

Callers 9

resolveMethod · 0.90
_find_bundled_coreMethod · 0.90
_install_shared_infraFunction · 0.70
_locate_bundled_workflowFunction · 0.70
_locate_bundled_presetFunction · 0.70
get_speckit_versionFunction · 0.70
_load_core_command_namesFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected