-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create async iterator version of _lsdir() (#670)
* Extract _do_lsdir() from _lsdir() * Refactor _do_lsdir() to do most of the work inside the loop * Replace _do_lsdir() with async generator _iterdir() * Add docstring for _iterdir() * Move 'versions' consistency check from _lsdir() to _iterdir()
- Loading branch information
Showing
1 changed file
with
69 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters