-
Notifications
You must be signed in to change notification settings - Fork 224
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
support positive count in Readdir() #61
Conversation
I confirmed this pull-request fixes both problem. Current implementation of Readdir return all of files in the directory. About problem that Name() return absolute path, this is not a big problem since most of users does not call Name() in the fs. If someone got this bug, they had report already. @rakyll I'm looking for fixing this issue. Could you please take a look? |
How about it? @rakyll |
Fix error messages and variable names.
Thank you for the kind reviews. |
Thanks much. |
Thank you, too! |
Follow on rakyll#60. The Readdir() should support positive count in order to return the specified counts of files. For it, I defined statikFS.dirs and httpFile.dirIdx for managing the internal state and use it inside Readdir().
follow on #60.
The Readdir() should support positive
count
in order to return the specified counts of files.For it, I defined statikFS.dirs and httpFile.dirIdx for managing the internal state and use it inside Readdir().