MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / editReply

Method editReply

packages/hydrooj/src/model/solution.ts:64–66  ·  view source on GitHub ↗
(domainId: string, psid: ObjectId, psrid: ObjectId, content: string)

Source from the content-addressed store, hash-verified

62 }
63
64 static editReply(domainId: string, psid: ObjectId, psrid: ObjectId, content: string) {
65 return document.setSub(domainId, document.TYPE_PROBLEM_SOLUTION, psid, 'reply', psrid, { content });
66 }
67
68 static delReply(domainId: string, psid: ObjectId, psrid: ObjectId) {
69 return document.deleteSub(domainId, document.TYPE_PROBLEM_SOLUTION, psid, 'reply', psrid);

Callers 2

postEditReplyMethod · 0.80
postEditReplyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected