Files
mrvacommander/pkg/qldbstore/interfaces.go

16 lines
459 B
Go

package qldbstore
import (
"mrvacommander/pkg/common"
)
type Store interface {
FindAvailableDBs(analysisReposRequested []common.NameWithOwner) (
notFoundRepos []common.NameWithOwner,
foundRepos []common.NameWithOwner)
// GetDatabase: return the database as a byte slice for the specified repository.
// The slice is a CodeQL database -- a zip archive to be processed by the CodeQL CLI.
GetDatabase(location common.NameWithOwner) ([]byte, error)
}