Versions in this module Expand all Collapse all v0 v0.0.2 Nov 28, 2023 Changes in this version + const FlagDestinations + const FlagDryRun + const FlagLogFormat + const FlagLogLevel + const FlagPromotables + const FlagSources + var ErrNotDir = stsync.ErrNotDir + var ErrUnequalPromotables = errors.New("unequal number of pomotables") + var ErrUnequalSourcesDestinationsLength = errors.New("unequal number of sources and destinations") + func NewPromoteCommand() *cli.Command + type PromoteConfig struct + Destinations []string + Promotables []string + Sources []string + Sync SyncFunc + func (c *PromoteConfig) ExecuteContext(ctx context.Context) error + func (c *PromoteConfig) Promote(dst, src string) error + func (c *PromoteConfig) Validate() error + type SyncFunc func(dst, src string) error