restic/vendor/src/github.com/pkg/sftp
2016-08-28 19:30:56 +02:00
..
examples Update sftp library 2016-08-28 19:30:56 +02:00
server_standalone Update sftp library 2016-08-28 19:30:56 +02:00
attrs.go Move things around for gb 2016-02-20 17:31:20 +01:00
attrs_stubs.go Move things around for gb 2016-02-20 17:31:20 +01:00
attrs_test.go Properly vendor dependencies with gb-vendor 2016-02-20 18:33:06 +01:00
attrs_unix.go Move things around for gb 2016-02-20 17:31:20 +01:00
client.go Update sftp library 2016-08-28 19:30:56 +02:00
client_integration_darwin_test.go Update sftp library 2016-08-28 19:30:56 +02:00
client_integration_linux_test.go Update sftp library 2016-08-28 19:30:56 +02:00
client_integration_test.go Update sftp library 2016-08-28 19:30:56 +02:00
client_test.go Update sftp library 2016-08-28 19:30:56 +02:00
conn.go Update sftp library 2016-08-28 19:30:56 +02:00
CONTRIBUTORS Move things around for gb 2016-02-20 17:31:20 +01:00
debug.go Move things around for gb 2016-02-20 17:31:20 +01:00
example_test.go Properly vendor dependencies with gb-vendor 2016-02-20 18:33:06 +01:00
LICENSE Move things around for gb 2016-02-20 17:31:20 +01:00
other_test.go Properly vendor dependencies with gb-vendor 2016-02-20 18:33:06 +01:00
packet.go Update sftp library 2016-08-28 19:30:56 +02:00
packet_test.go Properly vendor dependencies with gb-vendor 2016-02-20 18:33:06 +01:00
README.md Update sftp library 2016-08-28 19:30:56 +02:00
release.go Move things around for gb 2016-02-20 17:31:20 +01:00
server.go Update sftp library 2016-08-28 19:30:56 +02:00
server_integration_test.go Update sftp library 2016-08-28 19:30:56 +02:00
server_statvfs_darwin.go Update sftp library 2016-08-28 19:30:56 +02:00
server_statvfs_impl.go Update sftp library 2016-08-28 19:30:56 +02:00
server_statvfs_linux.go Update sftp library 2016-08-28 19:30:56 +02:00
server_statvfs_stubs.go Update sftp library 2016-08-28 19:30:56 +02:00
server_stubs.go Move things around for gb 2016-02-20 17:31:20 +01:00
server_test.go Update sftp library 2016-08-28 19:30:56 +02:00
server_unix.go Move things around for gb 2016-02-20 17:31:20 +01:00
sftp.go Update sftp library 2016-08-28 19:30:56 +02:00

sftp

The sftp package provides support for file system operations on remote ssh servers using the SFTP subsystem.

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.