Open ssnover opened 1 year ago
Would maybe make sense to make the FileStat
struct more generalized (break it out of the sftp
module) and have a conversion from ScpFileStat
into FileStat
?
Hello and thank you for submitting this issue.
Would you approve an MR introducing methods to make the internal data accessible?
Yes, we would.
I'm currently using the
ssh2::session::Session::scp_recv
api which returns a tuple of theChannel
and theScpFileStat
, however theScpFileStat
is pretty much just an opaque blob as it doesn't appear to implement any conversion traits.Would you approve an MR introducing methods to make the internal data accessible?