Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
71
func
(e *Editor) DeleteFile() error {
72
return
os.Remove(e.File)
73
}
74
75
func
(e *Editor) EditContent() (content string, err error) {
76
b, err := e.openAndEdit()
Callers
2
openAndEdit
Method · 0.95
Cleanup
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected