MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / validate_manifest_platform

Function validate_manifest_platform

Tests/SdkIntegration/tactility.py:258–260  ·  view source on GitHub ↗
(manifest, platform)

Source from the content-addressed store, hash-verified

256 return platform in manifest_platforms
257
258def validate_manifest_platform(manifest, platform):
259 if not is_valid_manifest_platform(manifest, platform):
260 exit_with_error(f"Platform {platform} is not available in the manifest.")
261
262def get_manifest_target_platforms(manifest, requested_platform):
263 if requested_platform == "" or requested_platform is None:

Callers 1

Calls 2

exit_with_errorFunction · 0.70

Tested by

no test coverage detected