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

Method _key

tests/bundler_helpers.py:105–106  ·  view source on GitHub ↗
(self, component: ComponentRef)

Source from the content-addressed store, hash-verified

103 self._fail_on = fail_on
104
105 def _key(self, component: ComponentRef) -> tuple[str, str]:
106 return (component.kind, component.id)
107
108 def is_installed(self, project_root: Path, component: ComponentRef) -> bool:
109 return self._key(component) in self.installed

Callers 4

is_installedMethod · 0.95
installMethod · 0.95
removeMethod · 0.95
refreshMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected