This commit simply splits the interfaces but introduces no new structs
- Introduce the QueryPackStore, mrvacommander/pkg/qpstore
- Introduce the CodeQL database store, pkg/qldbstore/interfaces.go
14 lines
363 B
Go
14 lines
363 B
Go
package qpstore
|
|
|
|
import (
|
|
"mrvacommander/pkg/common"
|
|
"mrvacommander/pkg/qldbstore"
|
|
)
|
|
|
|
type Storage interface {
|
|
NextID() int
|
|
SaveQueryPack(tgz []byte, sessionID int) (storagePath string, error error)
|
|
FindAvailableDBs(analysisReposRequested []common.OwnerRepo) (not_found_repos []common.OwnerRepo,
|
|
analysisRepos *map[common.OwnerRepo]qldbstore.DBLocation)
|
|
}
|