MCPcopy Index your code
hub / github.com/hydro-dev/Hydro / prepare

Method prepare

packages/hydrooj/src/handler/manage.ts:63–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 id: string;
62
63 async prepare() {
64 this.checkPriv(PRIV.PRIV_EDIT_SYSTEM);
65 await this.check();
66 }
67
68 async check() {
69 const log = (payload: any) => this.send({ type: 'log', payload });

Callers

nothing calls this directly

Calls 2

checkMethod · 0.95
checkPrivMethod · 0.80

Tested by

no test coverage detected