MCPcopy Create free account
hub / github.com/gogs/gogs / Delete

Function Delete

internal/httplib/httplib.go:84–86  ·  view source on GitHub ↗

Delete returns *Request DELETE method.

(url string)

Source from the content-addressed store, hash-verified

82
83// Delete returns *Request DELETE method.
84func Delete(url string) *Request {
85 return newRequest(url, "DELETE")
86}
87
88// Head returns *Request with HEAD method.
89func Head(url string) *Request {

Callers

nothing calls this directly

Calls 1

newRequestFunction · 0.85

Tested by

no test coverage detected