1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-26 09:47:49 +00:00
restic/vendor/github.com/pkg/sftp
2017-09-13 14:09:48 +02:00
..
examples Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
server_standalone Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
.gitignore Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
.travis.yml Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
attrs.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
attrs_stubs.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
attrs_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
attrs_unix.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
client.go Update dependencies 2017-09-13 14:09:48 +02:00
client_integration_darwin_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
client_integration_linux_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
client_integration_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
client_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
conn.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
CONTRIBUTORS Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
debug.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
example_test.go Update dependencies 2017-09-13 14:09:48 +02:00
LICENSE Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
match.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
other_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
packet-manager.go Update dependencies 2017-09-13 14:09:48 +02:00
packet-manager_go1.8.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
packet-manager_legacy.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
packet-manager_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
packet-typing.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
packet.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
packet_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
README.md Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
release.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
request-example.go Update dependencies 2017-09-13 14:09:48 +02:00
request-interfaces.go Update dependencies 2017-09-13 14:09:48 +02:00
request-readme.md Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
request-server.go Update dependencies 2017-09-13 14:09:48 +02:00
request-server_test.go Update dependencies 2017-09-13 14:09:48 +02:00
request-unix.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
request.go Update dependencies 2017-09-13 14:09:48 +02:00
request_test.go Update dependencies 2017-09-13 14:09:48 +02:00
request_windows.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
server.go Update dependencies 2017-09-13 14:09:48 +02:00
server_integration_test.go Update dependencies 2017-09-13 14:09:48 +02:00
server_statvfs_darwin.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
server_statvfs_impl.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
server_statvfs_linux.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
server_statvfs_stubs.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
server_stubs.go Update dependencies 2017-09-13 14:09:48 +02:00
server_test.go Update dependencies 2017-09-13 14:09:48 +02:00
server_unix.go Update dependencies 2017-09-13 14:09:48 +02:00
sftp.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00

sftp

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.

UNIX Build Status GoDoc

usage and examples

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.

roadmap

  • There is way too much duplication in the Client methods. If there was an unmarshal(interface{}) method this would reduce a heap of the duplication.

contributing

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.