MCPcopy
hub / github.com/rgburke/grv / GitStatusView

Struct GitStatusView

cmd/grv/git_status_view.go:97–112  ·  view source on GitHub ↗

GitStatusView manages displaying git status data

Source from the content-addressed store, hash-verified

95
96// GitStatusView manages displaying git status data
97type GitStatusView struct {
98 *SelectableRowView
99 repoData RepoData
100 repoController RepoController
101 channels Channels
102 config Config
103 status *Status
104 renderedStatus []*renderedStatusEntry
105 activeViewPos ViewPos
106 handlers map[ActionType]gitStatusViewHandler
107 gitStatusViewListeners []GitStatusViewListener
108 lastViewDimension ViewDimension
109 lastModify time.Time
110 variables GRVVariableSetter
111 lock sync.Mutex
112}
113
114// NewGitStatusView created a new GitStatusView
115func NewGitStatusView(repoData RepoData, repoController RepoController, channels Channels, config Config, variables GRVVariableSetter) *GitStatusView {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected