MCPcopy Index your code
hub / github.com/dnote/dnote / apiPatchNote

Function apiPatchNote

pkg/e2e/sync/testutils.go:207–209  ·  view source on GitHub ↗

apiPatchNote updates a note via the API

(t *testing.T, env testEnv, user database.User, noteUUID, payload, message string)

Source from the content-addressed store, hash-verified

205
206// apiPatchNote updates a note via the API
207func apiPatchNote(t *testing.T, env testEnv, user database.User, noteUUID, payload, message string) {
208 doHTTPReq(t, env, "PATCH", fmt.Sprintf("/v3/notes/%s", noteUUID), payload, message, user)
209}
210
211// apiDeleteNote deletes a note via the API
212func apiDeleteNote(t *testing.T, env testEnv, user database.User, noteUUID, message string) {

Callers 3

TestSync_onewayFunction · 0.85
TestSync_twowayFunction · 0.85
TestSyncFunction · 0.85

Calls 1

doHTTPReqFunction · 0.85

Tested by 3

TestSync_onewayFunction · 0.68
TestSync_twowayFunction · 0.68
TestSyncFunction · 0.68