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

Function create_file

lib/cli/tests/test_utils.py:27–29  ·  view source on GitHub ↗
(path, content)

Source from the content-addressed store, hash-verified

25
26
27def create_file(path, content):
28 with open(path, "w") as f:
29 f.write(content)
30
31
32def test_tree_find_and_replace_file_content(temp_tree):

Callers 2

temp_treeFunction · 0.70

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected