MCPcopy Create free account
hub / github.com/FastLED/FastLED / _is_zip_url

Method _is_zip_url

ci/compiler/platformio_ini.py:1463–1467  ·  view source on GitHub ↗

Check if a URL points to a zip file.

(self, url: str)

Source from the content-addressed store, hash-verified

1461 return url.endswith(".git") or url.startswith("git://")
1462
1463 def _is_zip_url(self, url: str) -> bool:
1464 """Check if a URL points to a zip file."""
1465 if not url:
1466 return False
1467 return url.endswith(".zip") or ".zip?" in url
1468
1469 def _classify_url_type(self, url: str) -> str:
1470 """Classify a URL as 'git', 'zip', 'file', or 'unknown'."""

Calls

no outgoing calls

Tested by 1