MCPcopy
hub / github.com/aws/aws-cli / write_file

Method write_file

backends/build_system/utils.py:220–222  ·  view source on GitHub ↗
(self, path: str, content: str)

Source from the content-addressed store, hash-verified

218 return open(path).readlines()
219
220 def write_file(self, path: str, content: str):
221 with open(path, "w") as f:
222 f.write(content)
223
224 def path_exists(self, path: str) -> bool:
225 return os.path.exists(path)

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected