2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-16 10:05:25 +00:00
restic/vendor/github.com/pkg/sftp
2018-09-08 21:17:22 +02:00
..
.gitignore Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
.travis.yml Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
attrs_stubs.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
attrs_unix.go Update dependencies 2018-09-08 21:17:22 +02:00
attrs.go Update dependencies, enable pruning for vendor/ 2018-08-01 21:32:15 +02:00
client.go Update dependencies, enable pruning for vendor/ 2018-08-01 21:32:15 +02:00
conn.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +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
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
packet-manager.go Update dependencies 2018-09-08 21:17:22 +02:00
packet-typing.go Update dependencies 2018-09-08 21:17:22 +02:00
packet.go Update dependencies 2018-09-08 21:17:22 +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_windows.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
request-attrs.go Update dependencies, enable pruning for vendor/ 2018-08-01 21:32:15 +02:00
request-errors.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
request-example.go Update dependencies 2018-09-08 21:17:22 +02:00
request-interfaces.go Update dependencies, enable pruning for vendor/ 2018-08-01 21:32:15 +02:00
request-readme.md Update dependencies 2018-01-23 19:40:42 +01:00
request-server.go Update dependencies 2018-09-08 21:17:22 +02:00
request-unix.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
request.go Update dependencies, enable pruning for vendor/ 2018-08-01 21:32:15 +02:00
server_statvfs_darwin.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
server_statvfs_impl.go Update dependencies 2018-09-08 21:17:22 +02:00
server_statvfs_linux.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
server_statvfs_stubs.go Update dependencies 2018-09-08 21:17:22 +02:00
server_stubs.go Update dependencies 2017-09-13 14:09:48 +02:00
server_unix.go Update dependencies 2018-09-08 21:17:22 +02:00
server.go Update dependencies 2018-09-08 21:17:22 +02:00
sftp.go Update dependencies 2018-01-23 19:40:42 +01: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.