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

Function _make

ci/lint_cpp/test_optimized_checkers.py:25–27  ·  view source on GitHub ↗

Create a FileContent from a string.

(content: str, path: str = "src/fl/test.h")

Source from the content-addressed store, hash-verified

23
24
25def _make(content: str, path: str = "src/fl/test.h") -> FileContent:
26 """Create a FileContent from a string."""
27 return FileContent(path=path, content=content, lines=content.splitlines())
28
29
30# ============================================================================

Callers 6

_checkMethod · 0.70
_checkMethod · 0.70
_checkMethod · 0.70
_checkMethod · 0.70
_checkMethod · 0.70

Calls 1

FileContentClass · 0.90

Tested by

no test coverage detected