(text: string)
| 79 | } |
| 80 | |
| 81 | function hashContent(text: string): string { |
| 82 | let h = 0; |
| 83 | for (let i = 0; i < text.length; i++) h = ((h << 5) - h + text.charCodeAt(i)) | 0; |
| 84 | return h.toString(36); |
| 85 | } |
| 86 | |
| 87 | function normalizeRelativePath(path: string): string { |
| 88 | return path.replace(/\\/g, "/"); |
no outgoing calls
no test coverage detected