MCPcopy Create free account
hub / github.com/cogentcore/core / toggleRevision

Method toggleRevision

filetree/vcslog.go:165–169  ·  view source on GitHub ↗

toggleRevision switches the active revision to set

()

Source from the content-addressed store, hash-verified

163
164// toggleRevision switches the active revision to set
165func (lv *VCSLog) toggleRevision() {
166 lv.setA = !lv.setA
167 lv.arev.UpdateRender()
168 lv.brev.UpdateRender()
169}
170
171func (lv *VCSLog) makeToolbar(p *tree.Plan) {
172 tree.Add(p, func(w *core.Text) {

Callers 1

InitMethod · 0.95

Calls 1

UpdateRenderMethod · 0.80

Tested by

no test coverage detected