Simplify struct SessionInfo and adjoining code

This commit is contained in:
Michael Hohn
2024-06-25 18:57:27 -07:00
committed by =Michael Hohn
parent 9d1a891c72
commit 0cffb3c849
3 changed files with 40 additions and 27 deletions

View File

@@ -9,17 +9,20 @@ import (
)
type SessionInfo struct {
ID int
Owner string
ControllerRepo string
QueryPack string
Language string
Repositories []common.NameWithOwner
// TODO verify: these fields are never used
// Owner string
// ControllerRepo string
// Repositories []common.NameWithOwner
// OverLimitRepos []common.NameWithOwner
// AnalysisRepos *map[common.NameWithOwner]qldbstore.CodeQLDatabaseLocation
ID int
QueryPack string
Language string
AccessMismatchRepos []common.NameWithOwner
NotFoundRepos []common.NameWithOwner
NoCodeqlDBRepos []common.NameWithOwner
OverLimitRepos []common.NameWithOwner
AnalysisRepos *map[common.NameWithOwner]qldbstore.CodeQLDatabaseLocation
}
type CommanderSingle struct {