* Check if a source is a URL
(source: string)
| 94 | * Check if a source is a URL |
| 95 | */ |
| 96 | function isUrl(source: string): boolean { |
| 97 | return source.startsWith('http://') || source.startsWith('https://') |
| 98 | } |
| 99 | |
| 100 | /** |
| 101 | * Generate content hash for an MCPB file |
no outgoing calls
no test coverage detected