Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
func CopyDir(sourceDir string, destinationDir string, overwrite bool, logger logging.Logger) (err error)
CopyDir recursively copies a directory.
func MaybeCreateDestinationDir ¶
func MaybeCreateDestinationDir(path string, opts ...CreateOption) error
Types ¶
type CreateOption ¶
type CreateOption func(c *createOpts)
func ErrOnExists ¶
func ErrOnExists() CreateOption
func WithFileMode ¶
func WithFileMode(m fs.FileMode) CreateOption
Click to show internal directories.
Click to hide internal directories.