MCPcopy Create free account
hub / github.com/apache/kvrocks / find_command

Function find_command

x.py:81–82  ·  view source on GitHub ↗
(command: str, msg: Optional[str] = None)

Source from the content-addressed store, hash-verified

79
80
81def find_command(command: str, msg: Optional[str] = None) -> str:
82 return run_pipe("which", command, msg=msg).read().strip()
83
84
85def check_version(current: str, required: Tuple[int, int, int], prog_name: Optional[str] = None) -> Tuple[

Callers 7

buildFunction · 0.85
clang_formatFunction · 0.85
clang_tidyFunction · 0.85
get_gopathFunction · 0.85
get_syspathFunction · 0.85
package_sourceFunction · 0.85
test_goFunction · 0.85

Calls 2

run_pipeFunction · 0.85
readMethod · 0.80

Tested by 1

test_goFunction · 0.68