Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mudler/LocalAI
/ Write
Method
Write
core/http/middleware/node_header.go:43–46 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
41
}
42
43
func
(w *nodeHeaderWriter) Write(b []byte) (int, error) {
44
w.maybeSet()
45
return
w.ResponseWriter.Write(b)
46
}
47
48
func
(w *nodeHeaderWriter) WriteHeader(code int) {
49
w.maybeSet()
Callers
nothing calls this directly
Calls
1
maybeSet
Method · 0.95
Tested by
no test coverage detected