MCPcopy Index your code
hub / github.com/mislav/hub / DeleteFile

Method DeleteFile

github/editor.go:71–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69}
70
71func (e *Editor) DeleteFile() error {
72 return os.Remove(e.File)
73}
74
75func (e *Editor) EditContent() (content string, err error) {
76 b, err := e.openAndEdit()

Callers 2

openAndEditMethod · 0.95
CleanupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected