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

Function _dwarf_prefix

ci/wasm_flags.py:48–52  ·  view source on GitHub ↗
(dwarf: dict[str, Any], key: str, default: str)

Source from the content-addressed store, hash-verified

46
47
48def _dwarf_prefix(dwarf: dict[str, Any], key: str, default: str) -> str:
49 value = dwarf.get(key, default)
50 if not isinstance(value, str) or not value.strip():
51 value = default
52 return value.replace("\\", "/").strip("/")
53
54
55def _path_prefix_variants(path: Path) -> list[str]:

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected