Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rs/zerolog
/ maybeWriteHeader
Method
maybeWriteHeader
hlog/internal/mutil/writer_proxy.go:80–84 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
}
79
80
func
(b *basicWriter) maybeWriteHeader() {
81
if
!b.wroteHeader {
82
b.WriteHeader(http.StatusOK)
83
}
84
}
85
86
func
(b *basicWriter) Status() int {
87
return
b.code
Callers
1
ReadFrom
Method · 0.80
Calls
1
WriteHeader
Method · 0.95
Tested by
no test coverage detected