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

Method constructor

packages/hydrooj/src/service/migration.ts:22–24  ·  view source on GitHub ↗
(ctx: Context)

Source from the content-addressed store, hash-verified

20 private called = false;
21
22 constructor(ctx: Context) {
23 super(ctx, 'migration');
24 }
25
26 async registerChannel(name: string, s: MigrationScript[]) {
27 if (this.called) logger.warn('MigrationService.registerChannel: called after doUpgrade with name: %s', name);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected