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

Method setRevisionA

filetree/vcslog.go:153–156  ·  view source on GitHub ↗

setRevisionA sets the revision to use for buffer A

(rev string)

Source from the content-addressed store, hash-verified

151
152// setRevisionA sets the revision to use for buffer A
153func (lv *VCSLog) setRevisionA(rev string) {
154 lv.revisionA = rev
155 lv.atf.Update()
156}
157
158// setRevisionB sets the revision to use for buffer B
159func (lv *VCSLog) setRevisionB(rev string) {

Callers 1

InitMethod · 0.95

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected