(path: string)
| 3 | import authenticatedFetch from './authenticated-fetch.js'; |
| 4 | |
| 5 | function escapeFilepath(path: string) { |
| 6 | return path.replaceAll('%', '%25').replaceAll('#', '%23'); |
| 7 | } |
| 8 | |
| 9 | async function maybeResponseLfs(response: Response): Promise<boolean> { |
| 10 | const length = Number(response.headers.get('content-length')); |