Documentation
¶
Index ¶
- func RecvFilterList(c *rsyncwire.Conn) (*filterRuleList, error)
- type Osenv
- type Transfer
- func (st *Transfer) Do(crd *rsyncwire.CountingReader, cwr *rsyncwire.CountingWriter, modPath string, ...) (*rsyncstats.TransferStats, error)
- func (st *Transfer) SendFileList(localDir string, opts *rsyncopts.Options, paths []string, excl *filterRuleList) (*fileList, error)
- func (st *Transfer) SendFiles(fileList *fileList) error
- type TransferOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecvFilterList ¶
exclude.c:recv_filter_list
Types ¶
type Transfer ¶
type Transfer struct { // config // Opts *Opts Logger log.Logger Opts *rsyncopts.Options // state Conn *rsyncwire.Conn Seed int32 // contains filtered or unexported fields }
func (*Transfer) Do ¶
func (st *Transfer) Do(crd *rsyncwire.CountingReader, cwr *rsyncwire.CountingWriter, modPath string, paths []string, exclusionList *filterRuleList) (*rsyncstats.TransferStats, error)
rsync/main.c:client_run am_sender
type TransferOpts ¶
type TransferOpts struct { Verbose bool DryRun bool DeleteMode bool PreserveGid bool PreserveUid bool PreserveLinks bool PreservePerms bool PreserveDevices bool PreserveSpecials bool PreserveTimes bool PreserveHardlinks bool }
TransferOpts is a subset of Opts which is required for implementing a receiver.
Click to show internal directories.
Click to hide internal directories.