MCPcopy Create free account
hub / github.com/PuerNya/git-proxy / newError

Function newError

main.go:244–249  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

242}
243
244func newError(msg string) *HTTPError {
245 return &HTTPError{
246 Message: msg,
247 Example: "https://abc.com/https://github.com/github/docs.git",
248 }
249}
250
251func run(*cobra.Command, []string) {
252 if bandwidthLimit > 0 {

Callers 1

responseWithErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected