MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / meta_get

Function meta_get

Scripts/Developer Base/Free Internet.py:791–795  ·  view source on GitHub ↗
(key: str)

Source from the content-addressed store, hash-verified

789
790
791def meta_get(key: str) -> Optional[bytes]:
792 con = db_connect()
793 row = con.execute("SELECT v FROM meta WHERE k=?", (key,)).fetchone()
794 con.close()
795 return row[0] if row else None
796
797
798def meta_set(key: str, value: bytes) -> None:

Callers 2

vault_configuredFunction · 0.70
verify_vault_passwordFunction · 0.70

Calls 1

db_connectFunction · 0.70

Tested by

no test coverage detected