singlestoredb.management.workspace.Stage.listdir

Stage.listdir(stage_path: str | PathLike[str] = '/', *, recursive: bool = False) List[str]

List the files / folders at the given path.

Parameters:

stage_path (Path or str, optional) – Path to the stage location

Return type:

List[str]