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

Method get_env_sections

ci/compiler/platformio_ini.py:1041–1050  ·  view source on GitHub ↗

Get all environment section names (sections starting with 'env:'). Returns: List of environment section names

(self)

Source from the content-addressed store, hash-verified

1039 return self.config.sections()
1040
1041 def get_env_sections(self) -> list[str]:
1042 """
1043 Get all environment section names (sections starting with 'env:').
1044
1045 Returns:
1046 List of environment section names
1047 """
1048 return [
1049 section for section in self.config.sections() if section.startswith("env:")
1050 ]
1051
1052 def has_section(self, section: str) -> bool:
1053 """

Callers 6

get_platform_urlsMethod · 0.95
get_framework_urlsMethod · 0.95
validate_structureMethod · 0.95
_parse_configMethod · 0.95
test_parse_and_dumpMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_parse_and_dumpMethod · 0.64