MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / Write

Method Write

core/middleware/operation.go:274–280  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

272}
273
274func (r *responseBodyWriter) Write(b []byte) (int, error) {
275 r.sanitizeResolvedHeader()
276 if r.captureBody {
277 r.body.Write(b)
278 }
279 return r.ResponseWriter.Write(b)
280}
281
282func loadLogInfo(path string) string {
283 path = replaceStr(path, "/api/v2", "/core", "/xpack", "/enterprise")

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected