Debian Codegraph @

/

debian golang-github-pkg-sftp 1.13.9-1debian golang-github-pkg-sftp-dev gomod github.com/pkg/sftp debiangogoinimakemakefilemarkdownshellyaml 122 files · 2844 symbols
README (full)

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.

dir .github/
dir debian/
dir examples/
dir internal/
dir server_standalone/
file .gitignore
file CONTRIBUTORS
file LICENSE
file Makefile
file README.md
file allocator.go
file allocator_test.go
file attrs.go
file attrs_stubs.go
file attrs_test.go
file attrs_unix.go
file client.go
file client_integration_darwin_test.go
file client_integration_linux_test.go
file client_integration_test.go
file client_test.go
file conn.go
file debug.go
file errno_plan9.go
file errno_posix.go
file example_test.go
file fuzz.go
file go.mod
file go.sum
file ls_formatting.go
file ls_formatting_test.go
file ls_plan9.go
file ls_stub.go
file ls_unix.go
file match.go
file packet-manager.go
file packet-manager_test.go
file packet-typing.go
file packet.go
file packet_test.go
file pool.go
file release.go
file request-attrs.go
file request-attrs_test.go
file request-errors.go
file request-example.go
file request-interfaces.go
file request-plan9.go
file request-readme.md
file request-server.go
file request-server_test.go
file request-unix.go
file request.go
file request_test.go
file request_windows.go
file server.go
file server_integration_test.go
file server_nowindows_test.go
file server_plan9.go
file server_posix.go
file server_statvfs_darwin.go
file server_statvfs_impl.go
file server_statvfs_linux.go
file server_statvfs_plan9.go
file server_statvfs_stubs.go
file server_test.go
file server_unix.go
file server_windows.go
file server_windows_test.go
file sftp.go
file sftp_test.go
file stat.go