MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / CloseDB

Function CloseDB

model/main.go:329–337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327}
328
329func CloseDB() error {
330 if LOG_DB != DB {
331 err := closeDB(LOG_DB)
332 if err != nil {
333 return err
334 }
335 }
336 return closeDB(DB)
337}
338
339var (
340 lastPingTime time.Time

Callers 1

mainFunction · 0.92

Calls 1

closeDBFunction · 0.85

Tested by

no test coverage detected