Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
check
Method · 0.95
checkPriv
Method · 0.80
Tested by
no test coverage detected