MCPcopy Index your code
hub / github.com/perkeep/perkeep / WriteHeader

Method WriteHeader

pkg/webserver/webserver.go:172–175  ·  view source on GitHub ↗
(code int)

Source from the content-addressed store, hash-verified

170}
171
172func (tw *trackResponseWriter) WriteHeader(code int) {
173 tw.code = code
174 tw.ResponseWriter.WriteHeader(code)
175}
176
177func (tw *trackResponseWriter) Write(p []byte) (int, error) {
178 if tw.code == 0 {

Callers 10

SendUnauthorizedFunction · 0.45
ServeBlobRefFunction · 0.45
handleEnumerateBlobsFunction · 0.45
CreatePutUploadHandlerFunction · 0.45
handleRemoveFunction · 0.45
handleStatFunction · 0.45
handleVerifyMethod · 0.45
ServeHTTPMethod · 0.45
ServeFileMethod · 0.45
ServeHTTPMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected