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

Function _has_brew

src/codegraphcontext/cli/setup_macos.py:6–7  ·  view source on GitHub ↗
(run_command, console)

Source from the content-addressed store, hash-verified

4from pathlib import Path
5
6def _has_brew(run_command, console) -> bool:
7 return run_command(["which", "brew"], console, check=False) is not None
8
9def _brew_install_neo4j(run_command, console) -> str:
10 if run_command(["brew", "install", "neo4j@5"], console, check=False):

Callers 1

setup_macos_binaryFunction · 0.85

Calls 1

run_commandFunction · 0.85

Tested by

no test coverage detected