Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
def
create_file(path, content):
28
with
open(path,
"w"
)
as
f:
29
f.write(content)
30
31
32
def
test_tree_find_and_replace_file_content(temp_tree):
Callers
2
temp_tree
Function · 0.70
test_tree_copy_to_existing_directory
Function · 0.70
Calls
1
write
Method · 0.45
Tested by
no test coverage detected