kops/vendor/github.com/pkg/sftp
Ciprian Hacman fa373af9ca Run make depup 2022-06-19 16:45:38 +03:00
..
internal/encoding/ssh/filexfer Run make depup 2022-06-19 16:45:38 +03:00
.gitignore dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
CONTRIBUTORS Bump sftp to 1.12 2020-12-16 09:08:44 +01:00
LICENSE Add missing dependencies 2016-07-26 23:58:58 -04:00
Makefile dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
README.md Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
allocator.go Bump sftp to 1.12 2020-12-16 09:08:44 +01:00
attrs.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
attrs_stubs.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
attrs_unix.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
client.go Run make depup 2022-06-19 16:45:38 +03:00
conn.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
debug.go Add missing dependencies 2016-07-26 23:58:58 -04:00
fuzz.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
ls_formatting.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
ls_plan9.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
ls_stub.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
ls_unix.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
match.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
packet-manager.go Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
packet-typing.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
packet.go Run make depup 2022-06-19 16:45:38 +03:00
pool.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
release.go Add missing dependencies 2016-07-26 23:58:58 -04:00
request-attrs.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
request-errors.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
request-example.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
request-interfaces.go Run make depup 2022-06-19 16:45:38 +03:00
request-plan9.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
request-readme.md Bump sftp to 1.12 2020-12-16 09:08:44 +01:00
request-server.go Run make depup 2022-06-19 16:45:38 +03:00
request-unix.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
request.go Run make depup 2022-06-19 16:45:38 +03:00
request_windows.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
server.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
server_statvfs_darwin.go Add missing dependencies 2016-07-26 23:58:58 -04:00
server_statvfs_impl.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
server_statvfs_linux.go Bump sftp to 1.12 2020-12-16 09:08:44 +01:00
server_statvfs_plan9.go Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
server_statvfs_stubs.go Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
sftp.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
stat_plan9.go dep: update github.com/pkg/sftp 2021-12-18 19:37:16 -05:00
stat_posix.go Run make depup 2022-06-19 16:45:38 +03:00
syscall_fixed.go Bump sftp to 1.12 2020-12-16 09:08:44 +01:00
syscall_good.go Bump sftp to 1.12 2020-12-16 09:08:44 +01:00

README.md

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.

CI Status Go Reference

usage and examples

See https://pkg.go.dev/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.