MCPcopy Index your code
hub / github.com/idank/explainshell / _get_mappings

Method _get_mappings

tests/test_store.py:469–471  ·  view source on GitHub ↗

Return {src: dst} for all mappings in the store.

(self, store: Store)

Source from the content-addressed store, hash-verified

467 )
468
469 def _get_mappings(self, store: Store) -> dict[str, str]:
470 """Return {src: dst} for all mappings in the store."""
471 return {src: dst for src, dst in store.mappings()}
472
473 def _get_subcommands(self, store: Store, source: str) -> list[str]:
474 """Read the subcommands list for a manpage from the DB."""

Callers

nothing calls this directly

Calls 1

mappingsMethod · 0.80

Tested by

no test coverage detected