Metadata about a workspace file or directory.
| 7 | |
| 8 | @dataclass |
| 9 | class 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 | |
| 19 | def iter_workspace_entries( |
no outgoing calls
no test coverage detected