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

Function meta_set

Scripts/Developer Base/Free Internet.py:798–802  ·  view source on GitHub ↗
(key: str, value: bytes)

Source from the content-addressed store, hash-verified

796
797
798def meta_set(key: str, value: bytes) -> None:
799 con = db_connect()
800 con.execute("INSERT INTO meta(k,v) VALUES(?,?) ON CONFLICT(k) DO UPDATE SET v=excluded.v", (key, value))
801 con.commit()
802 con.close()
803
804
805def vault_configured() -> bool:

Callers 1

set_vault_passwordFunction · 0.70

Calls 1

db_connectFunction · 0.70

Tested by

no test coverage detected