MCPcopy Create free account
hub / github.com/DEROFDN/Engram / readFromURI

Function readFromURI

res.go:152–156  ·  view source on GitHub ↗

Read the content from uri

(uri fyne.URIReadCloser)

Source from the content-addressed store, hash-verified

150
151// Read the content from uri
152func readFromURI(uri fyne.URIReadCloser) ([]byte, error) {
153 defer uri.Close()
154
155 return io.ReadAll(uri)
156}

Callers 4

layoutRestoreFunction · 0.85
layoutPadFunction · 0.85
layoutFileManagerFunction · 0.85
layoutContractBuilderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected