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

Method constructor

packages/hydrooj/src/service/storage.ts:305–306  ·  view source on GitHub ↗
(private config: ReturnType<typeof FileSetting>)

Source from the content-addressed store, hash-verified

303 private replaceWithAlternativeUrlFor: Record<'user' | 'judge', (originalUrl: string) => string>;
304
305 constructor(private config: ReturnType<typeof FileSetting>) {
306 }
307
308 async start() {
309 logger.debug('Loading local storage service with path:', this.config.path);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected