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

Method saveFileB

texteditor/diffeditor.go:315–318  ·  view source on GitHub ↗

saveFileB saves the current state of file B to given filename

(fname core.Filename)

Source from the content-addressed store, hash-verified

313
314// saveFileB saves the current state of file B to given filename
315func (dv *DiffEditor) saveFileB(fname core.Filename) { //types:add
316 dv.saveAs(true, fname)
317 dv.updateToolbar()
318}
319
320// DiffStrings computes differences between two lines-of-strings and displays in
321// DiffEditor.

Callers

nothing calls this directly

Calls 2

saveAsMethod · 0.95
updateToolbarMethod · 0.95

Tested by

no test coverage detected