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

Function _make

ci/lint_cpp/test_asm_js_location_checker.py:17–18  ·  view source on GitHub ↗
(code: str, path: str = _HEADER_PATH)

Source from the content-addressed store, hash-verified

15
16
17def _make(code: str, path: str = _HEADER_PATH) -> FileContent:
18 return FileContent(path=path, content=code, lines=code.splitlines())
19
20
21def _violations(code: str, path: str = _HEADER_PATH) -> list[tuple[int, str]]:

Callers 1

_violationsFunction · 0.70

Calls 1

FileContentClass · 0.90

Tested by

no test coverage detected