MCPcopy Create free account
hub / github.com/aptly-dev/aptly / ReOpenDatabase

Method ReOpenDatabase

context/context.go:370–374  ·  view source on GitHub ↗

ReOpenDatabase reopens the db after close

()

Source from the content-addressed store, hash-verified

368
369// ReOpenDatabase reopens the db after close
370func (context *AptlyContext) ReOpenDatabase() error {
371 _, err := context.Database()
372
373 return err
374}
375
376// NewCollectionFactory builds factory producing all kinds of collections
377func (context *AptlyContext) NewCollectionFactory() *deb.CollectionFactory {

Callers 4

aptlyTaskRunFunction · 0.80
aptlyMirrorUpdateFunction · 0.80
acquireDatabaseFunction · 0.80
apiMirrorsUpdateFunction · 0.80

Calls 1

DatabaseMethod · 0.95

Tested by

no test coverage detected