Basic Usage
Use thelist_roots() method on the context object:
Root Object Structure
EachRoot object returned by list_roots() contains:
| Field | Type | Description |
|---|---|---|
uri | AnyUrl | A file:// URI pointing to the root directory or file |
name | str | None | Optional human-readable name for the root |