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

Method _tryMigrateConfig

packages/hydrooj/src/settings.ts:126–129  ·  view source on GitHub ↗
(schema: Schema<any>)

Source from the content-addressed store, hash-verified

124 }
125
126 async _tryMigrateConfig(schema: Schema<any>) {
127 this._lastMigrate = this._lastMigrate.then(() => this._actualMigrate(schema));
128 await this._lastMigrate;
129 }
130
131 _get(key: string) {
132 const parts = key.split('.');

Callers 1

resolveConfigMethod · 0.80

Calls 2

_actualMigrateMethod · 0.95
thenMethod · 0.80

Tested by

no test coverage detected