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

implement list #20

Closed
wants to merge 2 commits into from
Closed

Conversation

little-dude
Copy link
Contributor

cf: #10

This is work in progress. I need to add nlst as well. But if you have feedback aleady it's great. Maybe I should rename list() to ls(), also.

@matt2xu
Copy link
Contributor

matt2xu commented Feb 11, 2016

It looks fine. The code will be a bit simpler once I take the time to make a pull request for error handling :-)
Also, I don't think you need to explicitly drop the connection, I believe the stream will be automatically dropped when it goes out of scope if I understand correctly.

Suggestion: maybe parse the list that is returned, so you get a Vec for instance, rather than a String?

@little-dude
Copy link
Contributor Author

thanks for the feedback!

The code will be a bit simpler once I take the time to make a pull request for error handling

Yes, please! :D

I don't think you need to explicitly drop the connection

👍

maybe parse the list that is returned, so you get a Vec for instance, rather than a String?

👍

@mattnenterprise
Copy link
Owner

@little-dude Can you resolve the conflicts.

@little-dude
Copy link
Contributor Author

@mattnenterprise I'll probably wait for #21, unless you want to merge this first.

@matt2xu matt2xu mentioned this pull request Feb 16, 2016
@mattnenterprise
Copy link
Owner

@little-dude #21 has been merged

@matt2xu
Copy link
Contributor

matt2xu commented Feb 28, 2016

@little-dude if you want to see this PR merged, you need to update it so it can be merged. To do that, rebase it on top of upstream/master. I doubt you'll have conflicts, so this should go smoothly :-) Then push your changes (forcefully with the -f option) on your list2 branch.

@little-dude
Copy link
Contributor Author

seems that this has been done already. not need to keep this pr open.

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

Successfully merging this pull request may close these issues.

3 participants