Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusAdded = "added" StatusModified = "modified" StatusDeleted = "deleted" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangedFile ¶
type Changes ¶
type Changes struct {
Files []ChangedFile `json:"files"`
Incomplete bool `json:"incomplete"`
Scope ScopeStats `json:"scope"`
}
type ScopeStats ¶
type Service ¶
type Service interface {
Changes(ctx context.Context, missionID string) (*Changes, error)
Diff(ctx context.Context, missionID, filePath string) (*Diff, error)
}
func New ¶
func New(missions missionGetter, journal SessionJournalReader) Service
type SessionJournalReader ¶
Click to show internal directories.
Click to hide internal directories.