mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
9 lines
209 B
Python
9 lines
209 B
Python
from .util import resolve_path
|
|
|
|
def write(base_path, file_path, contents):
|
|
file_path = resolve_path(base_path, file_path)
|
|
with open(file_path, 'w') as file:
|
|
file.write(contents)
|
|
return ""
|
|
|