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

Method autoSaveRestore

texteditor/buffer.go:561–563  ·  view source on GitHub ↗

autoSaveRestore restores prior Autosave setting, from AutoSaveOff

(asv bool)

Source from the content-addressed store, hash-verified

559// autoSaveRestore restores prior Autosave setting,
560// from AutoSaveOff
561func (tb *Buffer) autoSaveRestore(asv bool) {
562 tb.Autosave = asv
563}
564
565// AutoSaveFilename returns the autosave filename.
566func (tb *Buffer) AutoSaveFilename() string {

Callers 1

batchUpdateEndMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected