MCPcopy
hub / github.com/idank/explainshell / store

Function store

tests/test_store.py:22–26  ·  view source on GitHub ↗

Create a Store backed by an in-memory SQLite database.

()

Source from the content-addressed store, hash-verified

20
21@pytest.fixture
22def store():
23 """Create a Store backed by an in-memory SQLite database."""
24 s = Store.create(":memory:")
25 yield s
26 s.close()
27
28
29def _make_manpage(name, section, aliases=None, distro="ubuntu", release="26.04"):

Callers

nothing calls this directly

Calls 2

createMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected