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

Method constructor

packages/hydrooj/src/service/db.ts:39–41  ·  view source on GitHub ↗
(ctx: Context, private config: MongoConfig = {})

Source from the content-addressed store, hash-verified

37 public db: Db;
38
39 constructor(ctx: Context, private config: MongoConfig = {}) {
40 super(ctx, 'db');
41 }
42
43 static async getUrl() {
44 if (process.env.CI) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected