Releases: otiai10/copy
Releases · otiai10/copy
Concurrency Option
Add `OnError` option
so that users can suppress specific errors.
v1.9.0 💥 Breaking Change: Skip now accepts os.FileInfo
Merge pull request #92 from otiai10/breaking-change/skip-with-fileinfo [Breaking Change] Skip now accepts FileInfo
v1.7.0
[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.