Go copy directory recursively
so that users can suppress specific errors.
Options.PreserveOwner
thanks to @mudler💥 This release includes breaking changes as follows:
Options.Skip(src path)
function now returns (skip bool, err error)
Skip
returns skip == true
, we skip the srcSkip
returns skip == false
, we copy the srcSkip
returns err != nil
, we stop copying immediately.See https://pkg.go.dev/github.com/otiai10/copy?tab=doc#Options for more information.
Options for