judge: add getFile()

This commit is contained in:
undefined committed 2023-04-24 00:20:28 +08:00
1 parent 453de20572
commit 6d591aef37
3 files changed
+6 -4

No files matched your search

+4
View File
@@ -179,6 +179,10 @@ export async function del(fileId: string) {
await client.deleteFile(fileId);
}
export async function get(fileId: string) {
return await client.getFile(fileId);
}
export async function run(execute: string, params?: Parameter): Promise<SandboxAdaptedResult> {
let result: SandboxResult;
try {