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

FR: Add path() method to DirEntry #110

Open
netthier opened this issue Sep 27, 2023 · 1 comment
Open

FR: Add path() method to DirEntry #110

netthier opened this issue Sep 27, 2023 · 1 comment

Comments

@netthier
Copy link

I noticed that openssh_sftp_client::fs::DirEntry is missing a path() method which is provided in the std-equivalent.
Is there a technical reason this isn't implemented?

@NobodyXu
Copy link
Member

It can be implemented, I was focusing on providing a minimal usable API based on what is provided by sftp protocol.

I will welcome any PR for this, you would need to record the path passed to Fs::open_dir and then it can be implemented with relative ease.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants