-
Notifications
You must be signed in to change notification settings - Fork 7.3k
refactor: use os instead of ioutil's ReadDir #9929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Kally Fox <kallydev@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to migrate, can we migrate all the ioutil to os or io?
Yes, I have migrated all ioutil.ReadDir to os.ReadDir. Since this PR specifies binding to Issue, if we need to migrate other ioutil code to os or io, I suggest to do it in another PR. |
That looks great too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the update @kallydev
Signed-off-by: Kally Fox kallydev@gmail.com
What this PR does / why we need it:
Resolved #9926.
Special notes for your reviewer:
If applicable: