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

Method ReOpen

internal/action/bufpane.go:417–420  ·  view source on GitHub ↗

ReOpen reloads the file opened in the bufpane from disk

()

Source from the content-addressed store, hash-verified

415
416// ReOpen reloads the file opened in the bufpane from disk
417func (h *BufPane) ReOpen() {
418 h.Buf.ReOpen()
419 h.Relocate()
420}
421
422func (h *BufPane) getReloadSetting() string {
423 reloadSetting := h.Buf.Settings["reload"]

Callers 2

HandleEventMethod · 0.95
ReopenCmdMethod · 0.95

Calls 1

RelocateMethod · 0.65

Tested by

no test coverage detected