MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / capture

Function capture

scripts/sanitize-commit.py:45–46  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

43
44
45def capture(cmd):
46 return subprocess.run(cmd, check=True, capture_output=True, text=True).stdout
47
48
49def repo_root() -> Path:

Callers 3

repo_rootFunction · 0.85
sanitize_permissionsFunction · 0.85
mainFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected