commit | c71cbb17d337cdf8572ca6eca05061364e3b9870 | [log] [tgz] |
---|---|---|
author | John Eikenberry <jae@zhar.net> | Mon Jan 28 18:20:55 2019 -0800 |
committer | John Eikenberry <jae@zhar.net> | Tue Jan 29 14:49:22 2019 -0800 |
tree | 06c9b96dd62187874e30d9b3a6a1070d2fec543e | |
parent | 0a96e0de8a32fc14f685be6c70d312e33a29b2c0 [diff] |
'open' directory on opendir packet Just like with files, the call to the hander to create the Lister is done when the OPENDIR packet is received. This eliminates the need for the lock in the filelist() method and opens the path for eliminating more locks.
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.