sftp

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package sftp is the SFTP storage.Storage driver (conduit's v1 backend). Put/Get are atomic via a "<path>.part" temp + rename. Host-key verification (delta D1) uses known_hosts by default; the legacy accept-anything behavior requires explicit InsecureHostKey.

The driver is safe for concurrent use: the engine (Steps 4/5) calls it from a watcher goroutine and a keepalive goroutine. d.sc/d.cli are guarded by mu; network I/O runs on a local snapshot, never under lock.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *config.Config) (storage.Storage, error)

New builds an SFTP driver from the resolved config.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址