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

Function writeToURI

res.go:145–149  ·  view source on GitHub ↗

Write the content to uri

(content []byte, uri fyne.URIWriteCloser)

Source from the content-addressed store, hash-verified

143
144// Write the content to uri
145func writeToURI(content []byte, uri fyne.URIWriteCloser) (n int, err error) {
146 defer uri.Close()
147
148 return uri.Write(content)
149}
150
151// Read the content from uri
152func readFromURI(uri fyne.URIReadCloser) ([]byte, error) {

Callers 4

layoutPadFunction · 0.85
layoutAccountFunction · 0.85
layoutFileManagerFunction · 0.85
layoutContractEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected