Documentation
¶
Overview ¶
Package reviewdata defines storage-independent review identities and results.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrExpired = errors.New("captured diff expired")
View Source
var ErrNotFound = errors.New("diff not found")
View Source
var ErrSubmissionConflict = errors.New("submission ID reused with different input")
Functions ¶
Types ¶
type ContextInfo ¶
type ContextInfo struct {
Source string
Stale bool
Sessions []SessionAssociation
Metadata *ingestion.Metadata
ID string
Kind string
Root *string
LocationID *string
RepositoryID *string
CommonDir *string
WorktreeKey *string
SubmittedFrom *string
CreatedAt int64
LastSubmittedAt int64
ExpiresAt *int64
ScopeSummaries []review.ScopeSummary
ChangedFileCount *int
// Commits counts captured branch commits; nil when none were captured.
Commits *review.CommitRange
// ActivityAt is the winning submission activity for heads; captured activity otherwise.
ActivityAt int64
// StreamID names the source/repository/checkout/branch/comparison stream;
// LatestContextID is that stream's current head.
StreamID *string
LatestContextID *string
}
type FileVersion ¶ added in v0.2.1
FileVersion identifies a stored scope and requested file without loading its manifest or preview. A nil fingerprint means the file is absent.
type SessionAssociation ¶
Click to show internal directories.
Click to hide internal directories.