commit | a6c60b20612b97474f967a55076a4977b7b076d1 | [log] [tgz] |
---|---|---|
author | John Eikenberry <jae@zhar.net> | Sat Dec 23 16:50:46 2017 -0800 |
committer | John Eikenberry <jae@zhar.net> | Sat Dec 23 16:50:46 2017 -0800 |
tree | e8052982be5151fb30392c35db49040facd5a917 | |
parent | 8722020a70049154abe0de7c1e925f0967ed45ff [diff] |
Split setFileState into separate, typed functions. Fixes #215 where the user had an object that was their reader and writer and thing wouldn't work right.
The sftp
package provides support for file system operations on remote ssh servers using the SFTP subsystem. It also implements an SFTP server for serving files from the filesystem.
See godoc.org/github.com/pkg/sftp for examples and usage.
The basic operation of the package mirrors the facilities of the os package.
The Walker interface for directory traversal is heavily inspired by Keith Rarick's fs package.
We welcome pull requests, bug fixes and issue reports.
Before proposing a large change, first please discuss your change by raising an issue.
For API/code bugs, please include a small, self contained code example to reproduce the issue. For pull requests, remember test coverage.
We try to handle issues and pull requests with a 0 open philosophy. That means we will try to address the submission as soon as possible and will work toward a resolution. If progress can no longer be made (eg. unreproducible bug) or stops (eg. unresponsive submitter), we will close the bug.
Thanks.