Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyHandler ¶
type CopyHandler interface {
Run(ctx context.Context, dryrun bool, p *CopyParams) (err error)
}
func NewCopy ¶
func NewCopy(fs afero.Fs) CopyHandler
type CopyHandlerFunc ¶
type CopyHandlerFunc func(ctx context.Context, dryrun bool, p *CopyParams) error
func (CopyHandlerFunc) Run ¶ added in v0.0.20
func (f CopyHandlerFunc) Run(ctx context.Context, dryrun bool, p *CopyParams) error
type CopyParams ¶
type MoveHandler ¶
type MoveHandler interface {
Run(ctx context.Context, dryrun bool, p *MoveParams) (err error)
}
func NewMove ¶
func NewMove(fs afero.Fs) MoveHandler
type MoveHandlerFunc ¶
type MoveHandlerFunc func(ctx context.Context, dryrun bool, p *MoveParams) error
func (MoveHandlerFunc) Run ¶ added in v0.0.20
func (f MoveHandlerFunc) Run(ctx context.Context, dryrun bool, p *MoveParams) error
type MoveParams ¶
type SymlinkHandler ¶
type SymlinkHandler interface {
Run(ctx context.Context, dryrun bool, p *SymlinkParams) (err error)
}
func NewSymlink ¶
func NewSymlink(fs afero.Fs) SymlinkHandler
type SymlinkHandlerFunc ¶
type SymlinkHandlerFunc func(ctx context.Context, dryrun bool, p *SymlinkParams) error
func (SymlinkHandlerFunc) Run ¶ added in v0.0.20
func (f SymlinkHandlerFunc) Run(ctx context.Context, dryrun bool, p *SymlinkParams) error
type SymlinkParams ¶
Click to show internal directories.
Click to hide internal directories.