(runtime: Runtime, path: string)
| 1011 | } |
| 1012 | |
| 1013 | async function runtimePathExists(runtime: Runtime, path: string): Promise<boolean> { |
| 1014 | assert(path.length > 0, "runtimePathExists: path must be non-empty"); |
| 1015 | try { |
| 1016 | await runtime.stat(path); |
| 1017 | return true; |
| 1018 | } catch { |
| 1019 | return false; |
| 1020 | } |
| 1021 | } |
| 1022 | |
| 1023 | async function readTaskBaseCommitShaByProjectPath(params: { |
| 1024 | workspaceId: string; |
no test coverage detected