jakeheis / Shout

SSH made easy in Swift
MIT License
360 stars 105 forks source link

Add attr function to read remote attributes #49

Closed giorgiopogliani closed 4 years ago

giorgiopogliani commented 4 years ago

Hi,

I added a simple function to read attributes of a single file on the remote server.

I think it's a good utility function and due to the private visibility of SFTPHandle I couldn't add it with extensions.

Thanks.