Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileDiff ¶
type FileDiff struct {
Path string
Status FileStatus
Patch string
}
FileDiff represents a diff for a single file
type FileStatus ¶
type FileStatus int
FileStatus represents the status of a file in the diff
const ( StatusAdded FileStatus = iota StatusModified StatusDeleted )
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) DiffFromBaseline ¶
DiffFromBaseline returns the diff between the baseline commit and the current HEAD
func (*Manager) List ¶
func (m *Manager) List() ([]Checkpoint, error)
Click to show internal directories.
Click to hide internal directories.