Documentation
¶
Overview ¶
Package report defines public types representing the output of a repository scan. Renderers and external tools consume these types to display or persist results.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoState ¶
type RepoState struct {
ID string `json:"id"`
Path string `json:"path"`
Repo string `json:"repo"`
Branch string `json:"branch"`
UncommitedFiles []string `json:"uncommitedFiles"`
Ahead int `json:"ahead"`
Behind int `json:"behind"`
}
RepoState describes the state of a single Git repository discovered during a scan.
type ScanReport ¶
type ScanReport struct {
Version int `json:"version"`
RepoStates []RepoState `json:"repoStates"`
GeneratedAt time.Time `json:"generatedAt"`
Warnings []string `json:"warnings"`
}
ScanReport aggregates the results of scanning one or more directories for Git repositories and summarizing their status.
Click to show internal directories.
Click to hide internal directories.