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

Function is_git_bash

ci/util/windows_cmd_runner.py:31–37  ·  view source on GitHub ↗

Detect if running in Git Bash/MSys environment on Windows. Returns: True if running in Git Bash, False otherwise

()

Source from the content-addressed store, hash-verified

29
30
31def is_git_bash() -> bool:
32 """Detect if running in Git Bash/MSys environment on Windows.
33
34 Returns:
35 True if running in Git Bash, False otherwise
36 """
37 return platform.system() == "Windows" and "MSYSTEM" in os.environ
38
39
40def should_use_cmd_runner() -> bool:

Callers 1

should_use_cmd_runnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected