Similar to os.list], except provides a [os.Generator](../../../readme.md#osgenerator) of results rather than accumulating all of them in memory.
Similar to os.list], except provides a [os.Generator](../../../readme.md#osgenerator) of results rather than accumulating all of them in memory. Useful if the result set is large.
Returns all the files and folders directly within the given folder. If the given path is not a folder, raises an error. Can be called with list.stream to return an iterator. To list files recursively, use walk