Versions in this module Expand all Collapse all v1 v1.0.1 Oct 18, 2023 v1.0.0 Oct 18, 2023 Changes in this version + type EmitFunc func(path string, contents io.Reader) + type FileEmitter interface + CalculateByteSize func(src string) int + EmitAll func(src string, fn EmitFunc) error + EmitSingle func(src string, fn EmitFunc) error + func NewFileEmitter(client sftp.Client) FileEmitter + type SftpFileEmitter struct + func (s *SftpFileEmitter) CalculateByteSize(src string) int + func (s *SftpFileEmitter) EmitAll(src string, fn EmitFunc) error + func (s *SftpFileEmitter) EmitSingle(src string, fn EmitFunc) error + type TarFileEmitter struct + func (t *TarFileEmitter) CalculateByteSize(src string) int + func (t *TarFileEmitter) EmitAll(src string, fn EmitFunc) error + func (t *TarFileEmitter) EmitSingle(src string, fn EmitFunc) error