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

Method get

packages/hydrooj/src/handler/problem.ts:616–620  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

614
615export class ProblemEditHandler extends ProblemManageHandler {
616 async get() {
617 this.response.body.additional_file = sortFiles(this.pdoc.additional_file || []);
618 this.response.body.statementLangs = this.ctx.i18n.langs(false);
619 this.response.template = 'problem_edit.html';
620 }
621
622 @route('pid', Types.ProblemId)
623 @post('title', Types.Title)

Callers

nothing calls this directly

Calls 2

sortFilesFunction · 0.90
langsMethod · 0.80

Tested by

no test coverage detected