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

Method getReply

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

Source from the content-addressed store, hash-verified

58 }
59
60 static getReply(domainId: string, psid: ObjectId, psrid: ObjectId) {
61 return document.getSub(domainId, document.TYPE_PROBLEM_SOLUTION, psid, 'reply', psrid);
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 });

Callers 4

_prepareMethod · 0.80
postEditReplyMethod · 0.80
postDeleteReplyMethod · 0.80
getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected