(filePathOrHandle: string)
| 161 | const isHandle = (v: string) => /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(v) |
| 162 | |
| 163 | const resolveHandle = (filePathOrHandle: string) => pathToHandle.get(filePathOrHandle) ?? filePathOrHandle |
| 164 | |
| 165 | async function ensureOk(resp: Response, context: string): Promise<void> { |
| 166 | if (!resp.ok) { |
no test coverage detected