commit | 87518d071d8a4ecb72c412e3b012a063fb893627 | [log] [tgz] |
---|---|---|
author | John Eikenberry <jae@zhar.net> | Tue Aug 22 19:24:14 2017 -0700 |
committer | John Eikenberry <jae@zhar.net> | Tue Aug 22 19:24:14 2017 -0700 |
tree | 45982b521febd7989251b4ac3b40b9732b6e27d4 | |
parent | 98dd8fc8596a53174b396b35176dbd24c7b12554 [diff] |
remove vestigial packets channel from request Request object had a packet channel where it stored packets for read/write/readdir handling. It was required in an earlier version of the code (that was refactored before merging) and never got cleaned up. This removes that channel and just passes the packet through the methods instead. This is much simpler and would have eliminated the chance of issue #195. It also looks like it should allow for a few more simplifications as well.
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.