MCPcopy
hub / github.com/safing/portmaster / SQLite

Struct SQLite

base/database/storage/sqlite/sqlite.go:38–47  ·  view source on GitHub ↗

SQLite storage.

Source from the content-addressed store, hash-verified

36
37// SQLite storage.
38type SQLite struct {
39 name string
40
41 db *sql.DB
42 bob bob.DB
43 wg sync.WaitGroup
44
45 ctx context.Context
46 cancelCtx context.CancelFunc
47}
48
49func init() {
50 _ = storage.Register("sqlite", func(name, location string) (storage.Interface, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected