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

Function getNode

packages/hydrooj/src/model/discussion.ts:268–270  ·  view source on GitHub ↗
(domainId: string, _id: string)

Source from the content-addressed store, hash-verified

266}
267
268export function getNode(domainId: string, _id: string) {
269 return document.get(domainId, document.TYPE_DISCUSSION_NODE, _id);
270}
271
272export function flushNodes(domainId: string) {
273 return document.deleteMulti(domainId, document.TYPE_DISCUSSION_NODE);

Callers 1

getVnodeFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected