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

Function _get_container_name

ci/runners/docker_runner.py:59–69  ·  view source on GitHub ↗

Get unique container name based on project path. Args: project_root: Path to the project root Returns: Container name in format: fastled-unit-tests-{hash}

(project_root: Path)

Source from the content-addressed store, hash-verified

57
58
59def _get_container_name(project_root: Path) -> str:
60 """Get unique container name based on project path.
61
62 Args:
63 project_root: Path to the project root
64
65 Returns:
66 Container name in format: fastled-unit-tests-{hash}
67 """
68 path_hash = _get_path_hash(project_root)
69 return f"fastled-unit-tests-{path_hash}"
70
71
72def _get_volume_names(project_root: Path) -> VolumeNames:

Callers 1

run_docker_testsFunction · 0.85

Calls 1

_get_path_hashFunction · 0.85

Tested by

no test coverage detected