MCPcopy
hub / github.com/micro-editor/micro / Save

Method Save

internal/buffer/save.go:216–218  ·  view source on GitHub ↗

Save saves the buffer to its default path

()

Source from the content-addressed store, hash-verified

214
215// Save saves the buffer to its default path
216func (b *Buffer) Save() error {
217 return b.SaveAs(b.Path)
218}
219
220// AutoSave saves the buffer to its default path
221func (b *Buffer) AutoSave() error {

Callers

nothing calls this directly

Calls 1

SaveAsMethod · 0.95

Tested by

no test coverage detected