Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RsyncCmdBuilder ¶
type RsyncCmdBuilder struct {
// contains filtered or unexported fields
}
RsyncCmdBuilder defines the rsync command builder
func (*RsyncCmdBuilder) Build ¶
func (r *RsyncCmdBuilder) Build(src, dest string) *exec.Cmd
Build builds the rsync command
func (*RsyncCmdBuilder) IsSet ¶
func (r *RsyncCmdBuilder) IsSet(name string) bool
IsSet returns true if the flag is set
func (*RsyncCmdBuilder) Set ¶
func (r *RsyncCmdBuilder) Set(name string, value any) error
Set sets the value of a flag
func (*RsyncCmdBuilder) Unset ¶
func (r *RsyncCmdBuilder) Unset(name string)
Unset unsets the value of a flag
Click to show internal directories.
Click to hide internal directories.