MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / _get_diff

Function _get_diff

lib/devtools/src/crewai_devtools/docs_check.py:160–162  ·  view source on GitHub ↗

Get the git diff against a base ref.

(base: str)

Source from the content-addressed store, hash-verified

158
159
160def _get_diff(base: str) -> str:
161 """Get the git diff against a base ref."""
162 return _run_git(["diff", base, "--", "lib/"])
163
164
165def _get_openai_client() -> OpenAI:

Callers 1

docs_checkFunction · 0.85

Calls 1

_run_gitFunction · 0.85

Tested by

no test coverage detected