Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetailsOpts ¶ added in v0.0.8
type DetailsOpts struct {
ShowAllFiles bool
}
type Mon ¶
type Mon struct {
*Opts
// contains filtered or unexported fields
}
func (*Mon) GetStatusSnapshot ¶ added in v0.0.9
func (m *Mon) GetStatusSnapshot(packages, final bool) *StatusSnapshot
type Opts ¶
type Opts struct {
NoColor bool
ProjectDir string
Listeners []listeners.Listener
DetailsOpts *DetailsOpts
}
type StatusSnapshot ¶ added in v0.0.9
type StatusSnapshot struct {
*DetailsOpts
NumFilesCreated int64 `json:"num_files_created"`
NumFilesDeleted int64 `json:"num_files_deleted"`
NewFiles []string `json:"new_file_paths"`
DeletedFiles []string `json:"deleted_file_paths"`
WrittenFiles map[string]int64 `json:"file_writes"`
NumCommits int64 `json:"num_commits"`
LinesAdded int64 `json:"lines_added"`
LinesDeleted int64 `json:"lines_deleted"`
UnstagedChanges int64 `json:"unstaged_changes"`
Commits []*object.Commit `json:"-"`
Patch *object.Patch `json:"-"`
StartTime time.Time `json:"start_time"`
LastWrite time.Time `json:"last_write"`
ListenerDiffs listeners.DiffMap `json:"-"`
}
func (*StatusSnapshot) Final ¶ added in v0.0.9
func (s *StatusSnapshot) Final() string
func (*StatusSnapshot) Live ¶ added in v0.0.9
func (s *StatusSnapshot) Live() string
Click to show internal directories.
Click to hide internal directories.