mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 15:28:14 -05:00
* fix up folder structure * update docs * fix imports * fix imports * fix imoprt * fix imports * fix imports * fix imports * fix test import * fix tests * fix main import
533 B
533 B
sidebar_label, title
| sidebar_label | title |
|---|---|
| files | opendevin.runtime.files |
WorkspaceFile Objects
class WorkspaceFile()
to_dict
def to_dict() -> Dict[str, Any]
Converts the File object to a dictionary.
Returns:
The dictionary representation of the File object.
get_folder_structure
def get_folder_structure(workdir: Path) -> WorkspaceFile
Gets the folder structure of a directory.
Arguments:
workdir- The directory path.
Returns:
The folder structure.