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

Function _get_extension

ci/autoresearch/decode.py:55–58  ·  view source on GitHub ↗

Get lowercase file extension including the dot.

(path: str)

Source from the content-addressed store, hash-verified

53
54
55def _get_extension(path: str) -> str:
56 """Get lowercase file extension including the dot."""
57 _, ext = os.path.splitext(path)
58 return ext.lower()
59
60
61def _download_to_temp(url: str) -> tuple[str, str]:

Callers 2

_download_to_tempFunction · 0.85
_resolve_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected