MCPcopy Index your code
hub / github.com/github/spec-kit / shared_scripts_source

Function shared_scripts_source

src/specify_cli/shared_infra.py:132–140  ·  view source on GitHub ↗

Return the bundled/source shared scripts directory.

(
    *,
    core_pack: Path | None,
    repo_root: Path,
)

Source from the content-addressed store, hash-verified

130
131
132def shared_scripts_source(
133 *,
134 core_pack: Path | None,
135 repo_root: Path,
136) -> Path:
137 """Return the bundled/source shared scripts directory."""
138 if core_pack and (core_pack / "scripts").is_dir():
139 return core_pack / "scripts"
140 return repo_root / "scripts"
141
142
143def _shared_destination_label(project_path: Path, dest: Path) -> str:

Callers 1

install_shared_infraFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected