* Check if a source is a URL
(source: string)
| 84 | * Check if a source is a URL |
| 85 | */ |
| 86 | function isUrl(source: string): boolean { |
| 87 | return source.startsWith('http://') || source.startsWith('https://') |
| 88 | } |
| 89 | |
| 90 | /** |
| 91 | * Generate content hash for an MCPB file |
no outgoing calls
no test coverage detected