mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-21 01:46:28 +08:00
judge: add getFile()
This commit is contained in:
3 files changed
+6
-4
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user