automation-tests/vendor/github.com/pkg/sftp
dependabot[bot] 9457549fff build(deps): bump github.com/vbauerster/mpb/v7 from 7.5.2 to 7.5.3
Bumps [github.com/vbauerster/mpb/v7](https://github.com/vbauerster/mpb) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/vbauerster/mpb/releases)
- [Commits](https://github.com/vbauerster/mpb/compare/v7.5.2...v7.5.3)

---
updated-dependencies:
- dependency-name: github.com/vbauerster/mpb/v7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Also bump the go module to 1.17 to be able to compile the new code.
Given containers/common and others already require go 1.17+ we're
safe to go.

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-09-13 08:58:22 +02:00
..
internal/encoding/ssh/filexfer podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
.gitignore podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
CONTRIBUTORS podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
LICENSE podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
Makefile podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
README.md podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
allocator.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
attrs.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
attrs_stubs.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
attrs_unix.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
client.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
conn.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
debug.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
fuzz.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
ls_formatting.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
ls_plan9.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
ls_stub.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
ls_unix.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
match.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
packet-manager.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
packet-typing.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
packet.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
pool.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
release.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
request-attrs.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
request-errors.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
request-example.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
request-interfaces.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
request-plan9.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
request-readme.md podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
request-server.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
request-unix.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
request.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
request_windows.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
server.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
server_statvfs_darwin.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
server_statvfs_impl.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
server_statvfs_linux.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
server_statvfs_plan9.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
server_statvfs_stubs.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
sftp.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
stat_plan9.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
stat_posix.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
syscall_fixed.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
syscall_good.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04: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.