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

Function _path_prefix_variants

ci/wasm_flags.py:55–61  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

53
54
55def _path_prefix_variants(path: Path) -> list[str]:
56 resolved = path.resolve()
57 variants = [resolved.as_posix()]
58 native = str(resolved)
59 if native != variants[0]:
60 variants.append(native)
61 return variants
62
63
64def _file_prefix_map_flags(from_path: Path, to_prefix: str) -> list[str]:

Callers 1

_file_prefix_map_flagsFunction · 0.85

Calls 2

resolveMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected