MCPcopy Create free account
hub / github.com/Vespa314/cflow / patch

Method patch

test/server/server.go:170–174  ·  view source on GitHub ↗

patch sends a PATCH client request.

(url string, body io.Reader, params map[string]string)

Source from the content-addressed store, hash-verified

168
169// patch sends a PATCH client request.
170func (s *TestingServer) patch(url string, body io.Reader, params map[string]string) (io.ReadCloser, error) {
171 return s.request("PATCH", url, body, params, map[string]string{
172 "Cookie": s.cookie,
173 })
174}
175
176// delete sends a DELETE client request.
177func (s *TestingServer) delete(url string, params map[string]string) (io.ReadCloser, error) {

Callers 6

patchMemoMethod · 0.95
patchUserMethod · 0.95
patchMemoFunction · 0.80
updateResourceNameFunction · 0.80
patchStorageFunction · 0.80
patchIdentityProviderFunction · 0.80

Calls 1

requestMethod · 0.95

Tested by 2

patchMemoMethod · 0.76
patchUserMethod · 0.76