MCPcopy Create free account
hub / github.com/OpenBMB/ChatDev / WorkspaceEntry

Class WorkspaceEntry

utils/workspace_scanner.py:9–16  ·  view source on GitHub ↗

Metadata about a workspace file or directory.

Source from the content-addressed store, hash-verified

7
8@dataclass
9class WorkspaceEntry:
10 """Metadata about a workspace file or directory."""
11
12 path: str # relative path from workspace root
13 type: str # "file" | "directory"
14 size: Optional[int]
15 modified_ts: Optional[float]
16 depth: int
17
18
19def iter_workspace_entries(

Callers 1

iter_workspace_entriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected