Repository navigation
Improve trio.Path.iterdir - #502
Merged
Merged
Conversation
touilleMan
force-pushed
the
correct-path-iterdir
branch
from
April 17, 2018 10:05
d7ecfe1 to
e7f9a69
Compare
Codecov Report
@@ Coverage Diff @@
## master #502 +/- ##
==========================================
+ Coverage 99.27% 99.28% +0.01%
==========================================
Files 89 89
Lines 10418 10432 +14
Branches 720 722 +2
==========================================
+ Hits 10342 10357 +15
Misses 58 58
+ Partials 18 17 -1
Continue to review full report at Codecov.
|
Fuyukai
reviewed
Apr 17, 2018
| """ | ||
| Almost (see below) like :meth:`iterdir.Path.iterdir`, but async. | ||
|
|
||
| Unlike :meth:`iterdir.Path.iterdir`, this method loads the entire |
Member
There was a problem hiding this comment.
Did you mean pathlib.Path.iterdir?
touilleMan
force-pushed
the
correct-path-iterdir
branch
from
April 18, 2018 16:10
b6e7d5c to
3fc6a07
Compare
pathlib.Path.iterdir also loads the whole directory into memory, so removed the "unlike pathlib.Path.iterdir" text. Also, provided an example of how to call it.
Member
|
Code looks good to me. I edited the docstring, and also edited your initial comment to say "closes #501 ", so when this is merged it will automagically close the issue. Please go ahead and merge after confirming you like my edited docstring :-) |
Member
Author
|
Your comments&docstrings are always the best anyway ;-) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #501