commit | 4f3e725e885c021085d2fb8a9cc26e30ea1a992f | [log] [tgz] |
---|---|---|
author | John Eikenberry <jae@zhar.net> | Thu Jul 20 15:25:28 2017 -0700 |
committer | John Eikenberry <jae@zhar.net> | Thu Jul 20 15:28:11 2017 -0700 |
tree | 885f7e3a5dbf346adea7a7fc7b3f928d1a6dc908 | |
parent | c325f9a7fedf8f931b2a91f79b230dc036cf09f3 [diff] |
Fixes #188; eliminates duplicated core code match contained lots of cut-n-pasted code from filepath/match.go in the core libraries. Particularly Match() and Join() were changed in such a way that made them functionally equivalent to the versions in path/match.go. This removes the duplicate code and just calls the path versions.
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.