(systemPath: string)
| 553 | } |
| 554 | |
| 555 | export function systemPathToUrlEncoded(systemPath: string): string { |
| 556 | const normalized = systemPath.replaceAll(WINDOWS_SEPARATOR, "/"); |
| 557 | const components = normalized.split("/").filter((comp) => comp); |
| 558 | return "/" + components.map((comp) => encodeURIComponent(comp)).join("/"); |
| 559 | } |
| 560 | |
| 561 | export async function prepareStaticFile( |
| 562 | item: PendingStaticFile, |
no outgoing calls
no test coverage detected