Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mislav/hub
/ readContent
Method
readContent
github/editor.go:136–138 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
134
}
135
136
func
(e *Editor) readContent() (content []byte, err error) {
137
return
ioutil.ReadFile(e.File)
138
}
139
140
func
openTextEditor(program, file string) error {
141
programArgs, err := shellquote.Split(program)
Callers
1
openAndEdit
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected