Skip to content
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

add createListStream() API for streaming ls() #237

Closed
jclulow opened this issue Aug 20, 2015 · 1 comment
Closed

add createListStream() API for streaming ls() #237

jclulow opened this issue Aug 20, 2015 · 1 comment
Assignees

Comments

@jclulow
Copy link
Contributor

jclulow commented Aug 20, 2015

The current ls() method returns an EventEmitter to the caller. This object will emit events for every directory entry, as fast as possible. We should provide a proper Readable stream object, using the second generation streams pattern. This will be an object-mode stream from which the consumer may read() directory entries, using the same object format as those previously emitted by the "entry" event from ls().

@jclulow jclulow self-assigned this Aug 20, 2015
jclulow added a commit that referenced this issue Aug 20, 2015
#238 mls --type/-t option does not work
Reviewed by: Dave Pacheco <dap@joyent.com>
@jclulow
Copy link
Contributor Author

jclulow commented Aug 20, 2015

Fixed in manta@1.6.0

@jclulow jclulow closed this as completed Aug 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant