Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ContentSquare/chproxy
/ Write
Method
Write
cache/tmp_file_response_writer.go:156–161 ·
view source on GitHub ↗
Write writes b into rw.
(b []byte)
Source
from the content-addressed store, hash-verified
154
155
// Write writes b into rw.
156
func
(rw *TmpFileResponseWriter) Write(b []byte) (int, error) {
157
if
err := rw.captureHeaders(); err != nil {
158
return
0, err
159
}
160
return
rw.bw.Write(b)
161
}
Callers
2
TestWriteThenReadHeader
Function · 0.95
TestWriteThenReadContent
Function · 0.95
Calls
1
captureHeaders
Method · 0.95
Tested by
2
TestWriteThenReadHeader
Function · 0.76
TestWriteThenReadContent
Function · 0.76