MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / OpenWriter

Function OpenWriter

internal/utils/dbs/db.go:42–44  ·  view source on GitHub ↗
(dsn string)

Source from the content-addressed store, hash-verified

40}
41
42func OpenWriter(dsn string) (*DB, error) {
43 return open(dsn, true)
44}
45
46func OpenReader(dsn string) (*DB, error) {
47 return open(dsn, false)

Callers 5

InitMethod · 0.92
InitMethod · 0.92
initMethod · 0.92
OpenMethod · 0.92
UpgradeV3Method · 0.92

Calls 1

openFunction · 0.85

Tested by

no test coverage detected