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

Method get_platform_urls

ci/compiler/platformio_ini.py:1125–1137  ·  view source on GitHub ↗

Get all platform URLs from environment sections. Returns: List of tuples: (section_name, option_name, url)

(self)

Source from the content-addressed store, hash-verified

1123 return result
1124
1125 def get_platform_urls(self) -> list[tuple[str, str, str]]:
1126 """
1127 Get all platform URLs from environment sections.
1128
1129 Returns:
1130 List of tuples: (section_name, option_name, url)
1131 """
1132 urls: list[tuple[str, str, str]] = []
1133 for section in self.get_env_sections():
1134 platform_value = self.get_option(section, "platform")
1135 if platform_value:
1136 urls.append((section, "platform", platform_value))
1137 return urls
1138
1139 def get_framework_urls(self) -> list[tuple[str, str, str]]:
1140 """

Callers 6

resolve_platform_urlsMethod · 0.95
optimizeMethod · 0.95
optimize_enhancedMethod · 0.95
_collect_all_zip_urlsFunction · 0.80
test_parse_and_dumpMethod · 0.80

Calls 3

get_env_sectionsMethod · 0.95
get_optionMethod · 0.95
appendMethod · 0.45

Tested by 1

test_parse_and_dumpMethod · 0.64