singlestoredb.management.workspace.Stage.listdir¶
- Stage.listdir(stage_path: str | PathLike[str] = '/', *, recursive: bool = False, return_objects: Literal[True]) List[FilesObject]¶
- Stage.listdir(stage_path: str | PathLike[str] = '/', *, recursive: bool = False, return_objects: Literal[False] = False) List[str]
List the files / folders at the given path.
- Parameters:
- Return type:
List[str] or List[FilesObject]