MCPcopy
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
136func (e *Editor) readContent() (content []byte, err error) {
137 return ioutil.ReadFile(e.File)
138}
139
140func openTextEditor(program, file string) error {
141 programArgs, err := shellquote.Split(program)

Callers 1

openAndEditMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected