DBPath builds path to database
()
| 293 | |
| 294 | // DBPath builds path to database |
| 295 | func (context *AptlyContext) dbPath() string { |
| 296 | return filepath.Join(context.config().GetRootDir(), "db") |
| 297 | } |
| 298 | |
| 299 | // Database opens and returns current instance of database |
| 300 | func (context *AptlyContext) Database() (database.Storage, error) { |
no test coverage detected