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

Method create

explainshell/store.py:128–132  ·  view source on GitHub ↗

Create a new (or open an existing) writable database and return a Store.

(cls, db_path: str)

Source from the content-addressed store, hash-verified

126
127 @classmethod
128 def create(cls, db_path: str) -> "Store":
129 """Create a new (or open an existing) writable database and return a Store."""
130 s = cls(db_path)
131 s._conn.executescript(_CREATE_SCHEMA)
132 return s
133
134 def close(self) -> None:
135 if self._conn:

Callers 15

extractFunction · 0.45
diff_db_cmdFunction · 0.45
submit_batchMethod · 0.45
callMethod · 0.45
submit_batchMethod · 0.45
iFunction · 0.45
$Function · 0.45
teFunction · 0.45
EFunction · 0.45
hFunction · 0.45
d3.v3.jsFile · 0.45
d3.v3.min.jsFile · 0.45

Calls

no outgoing calls