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

Method saveFileA

texteditor/diffeditor.go:309–312  ·  view source on GitHub ↗

saveFileA saves the current state of file A to given filename

(fname core.Filename)

Source from the content-addressed store, hash-verified

307
308// saveFileA saves the current state of file A to given filename
309func (dv *DiffEditor) saveFileA(fname core.Filename) { //types:add
310 dv.saveAs(false, fname)
311 dv.updateToolbar()
312}
313
314// saveFileB saves the current state of file B to given filename
315func (dv *DiffEditor) saveFileB(fname core.Filename) { //types:add

Callers

nothing calls this directly

Calls 2

saveAsMethod · 0.95
updateToolbarMethod · 0.95

Tested by

no test coverage detected