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

Function write

lib/cli/tests/test_run_usage.py:170–173  ·  view source on GitHub ↗
(path: Path, text: str)

Source from the content-addressed store, hash-verified

168
169
170def write(path: Path, text: str) -> Path:
171 path.parent.mkdir(parents=True, exist_ok=True)
172 path.write_text(text, encoding="utf-8")
173 return path
174
175
176def json_crew_project(folder: Path, *, installed: bool = True) -> None:

Calls

no outgoing calls

Tested by

no test coverage detected