MCPcopy Create free account
hub / github.com/aptly-dev/aptly / fatalError

Function fatalError

s3/server_test.go:133–139  ·  view source on GitHub ↗
(code int, codeStr string, errf string, a ...interface{})

Source from the content-addressed store, hash-verified

131}
132
133func fatalError(code int, codeStr string, errf string, a ...interface{}) {
134 panic(&s3Error{
135 statusCode: code,
136 Code: codeStr,
137 Message: fmt.Sprintf(errf, a...),
138 })
139}
140
141// serveHTTP serves the S3 protocol.
142func (srv *Server) serveHTTP(w http.ResponseWriter, req *http.Request) {

Callers 11

serveHTTPMethod · 0.85
resourceForURLMethod · 0.85
notAllowedFunction · 0.85
getMethod · 0.85
deleteMethod · 0.85
putMethod · 0.85
postMethod · 0.85
getMethod · 0.85
putMethod · 0.85
postMethod · 0.85
locationConstraintFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected