mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
8 lines
182 B
Python
8 lines
182 B
Python
from .util import resolve_path
|
|
|
|
def read(base_path, file_path):
|
|
file_path = resolve_path(base_path, file_path)
|
|
with open(file_path, 'r') as file:
|
|
return file.read()
|
|
|