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

Function write

lib/cli/tests/test_api_keys.py:33–36  ·  view source on GitHub ↗
(path: Path, text: str)

Source from the content-addressed store, hash-verified

31
32
33def write(path: Path, text: str) -> Path:
34 path.parent.mkdir(parents=True, exist_ok=True)
35 path.write_text(text, encoding="utf-8")
36 return path
37
38
39def warning(project: Path, name: str) -> str:

Calls

no outgoing calls

Tested by

no test coverage detected