package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CopyMapping copies the files in the (dest-to-src) map mapping from dst to src.
OnCopy sends an OnCopyStep observation to multiple observers.
OnCopyEnd sends an OnCopyEnd observation to multiple observers.
OnCopyStart sends an OnCopyStart observation to multiple observers.
OnCopyStep sends an OnCopyStep observation to multiple observers.
RecvMapping is shorthand for CopyMapping where the source is a Local.
SendMapping is shorthand for CopyMapping where the source is a Local.

# Structs

Local implements Copier through os.
Message is the type of copy observation messages.

# Interfaces

Copier provides a mockable interface for remote copying.
Observer is an interface for types that observe an SFTP file copy.

# Type aliases

SFTP wraps an sftp.Client to adapt it to the Copier interface.