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

Function _make

ci/lint_cpp/test_raw_noexcept_checker.py:20–22  ·  view source on GitHub ↗
(code: str, path: str = _FL_PATH)

Source from the content-addressed store, hash-verified

18
19
20def _make(code: str, path: str = _FL_PATH) -> FileContent:
21 lines = code.splitlines()
22 return FileContent(path=path, content=code, lines=lines)
23
24
25def _violations(code: str, path: str = _FL_PATH) -> list[tuple[int, str]]:

Callers 1

_violationsFunction · 0.70

Calls 1

FileContentClass · 0.90

Tested by

no test coverage detected