Closed k0i closed 5 months ago
I noticed that sftp's readdir function takes only Path . I think it is comfortable to accept &str .
readdir
Path
&str
So I changed the methods argument a little bit to take AsRef<Path>.
AsRef<Path>.
Could you please review the changes?
If this change is unacceptable, please kindly close this RR. Sorry for taking your time 🙇 !
Thank you for the patches! This is definitely a good improvement.
As long as the tests pass I'll get this merged.
Motivation
I noticed that sftp's
readdir
function takes onlyPath
. I think it is comfortable to accept&str
.So I changed the methods argument a little bit to take
AsRef<Path>.
Could you please review the changes?
If this change is unacceptable, please kindly close this RR. Sorry for taking your time 🙇 !