(filePath: string)
| 101 | } |
| 102 | |
| 103 | function encodeFilePath(filePath: string) { |
| 104 | const encoded = encodeURIComponent(filePath) |
| 105 | .replace(/%2F/g, '/') |
| 106 | .replace(/'/g, '%27') |
| 107 | .replace(/\(/g, '%28') |
| 108 | .replace(/\)/g, '%29'); |
| 109 | return encoded; |
| 110 | } |
| 111 | |
| 112 | async function getFilePaths( |
| 113 | path: string, |
no outgoing calls
no test coverage detected