MCPcopy
hub / github.com/benbjohnson/litestream / DBs

Method DBs

store.go:260–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258}
259
260func (s *Store) DBs() []*DB {
261 s.mu.Lock()
262 defer s.mu.Unlock()
263 return slices.Clone(s.dbs)
264}
265
266// RegisterDB registers a new database with the store and starts monitoring it.
267func (s *Store) RegisterDB(db *DB) error {

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45