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