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