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

Class FileContent

ci/util/check_files.py:49–58  ·  view source on GitHub ↗

Container for file content and metadata.

Source from the content-addressed store, hash-verified

47
48@dataclass
49class FileContent:
50 """Container for file content and metadata."""
51
52 path: str
53 content: str
54 lines: list[str]
55
56 def __post_init__(self):
57 if not self.lines:
58 self.lines = self.content.splitlines()
59
60
61@dataclass

Callers 15

_make_contentFunction · 0.90
_make_file_contentFunction · 0.90
_makeFunction · 0.90
_make_contentFunction · 0.90
_makeFunction · 0.90
_makeFunction · 0.90
_make_fcFunction · 0.90
_makeFunction · 0.90
_python_recordsFunction · 0.90
_makeFunction · 0.90
mainFunction · 0.90
_makeFunction · 0.90

Calls

no outgoing calls

Tested by 15

_make_contentFunction · 0.72
_make_file_contentFunction · 0.72
_makeFunction · 0.72
_make_contentFunction · 0.72
_makeFunction · 0.72
_makeFunction · 0.72
_make_fcFunction · 0.72
_makeFunction · 0.72
_python_recordsFunction · 0.72
_makeFunction · 0.72
_makeFunction · 0.72
_make_contentFunction · 0.72