MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / _brew_start

Function _brew_start

src/codegraphcontext/cli/setup_macos.py:16–17  ·  view source on GitHub ↗
(service: str, run_command, console)

Source from the content-addressed store, hash-verified

14 return ""
15
16def _brew_start(service: str, run_command, console) -> bool:
17 return run_command(["brew", "services", "start", service], console, check=False) is not None
18
19def _escape_cypher_password(password: str) -> str:
20 return password.replace("\\", "\\\\").replace("'", "\\'")

Callers 1

setup_macos_binaryFunction · 0.85

Calls 1

run_commandFunction · 0.85

Tested by

no test coverage detected