[Breaking Change] opt.Skip returns error
💥 This release includes breaking changes as follows:
Options.Skip(src path)
function now returns(skip bool, err error)
- If your
Skip
returnsskip == true
, we skip the src - If your
Skip
returnsskip == false
, we copy the src - If your
Skip
returnserr != nil
, we stop copying immediately.
- If your
See https://pkg.go.dev/github.com/otiai10/copy?tab=doc#Options for more information.