Skip to content

Releases: otiai10/copy

Concurrency Option

02 Oct 04:49
fba066a
Compare
Choose a tag to compare
Merge pull request #123 from otiai10/feature/concurrent-dcopy

Feature/concurrent dcopy

Add `OnError` option

20 Apr 05:03
4359ba7
Compare
Choose a tag to compare

so that users can suppress specific errors.

v1.9.0 💥 Breaking Change: Skip now accepts os.FileInfo

09 Nov 04:06
4c7c24d
Compare
Choose a tag to compare
Merge pull request #92 from otiai10/breaking-change/skip-with-fileinfo

[Breaking Change] Skip now accepts FileInfo

v1.7.0

09 Nov 23:24
Compare
Choose a tag to compare

Features

  • Options.PreserveOwner thanks to @mudler

[Breaking Change] opt.Skip returns error

24 May 06:29
c5f0361
Compare
Choose a tag to compare

💥 This release includes breaking changes as follows:

  • Options.Skip(src path) function now returns (skip bool, err error)
    • If your Skip returns skip == true, we skip the src
    • If your Skip returns skip == false, we copy the src
    • If your Skip returns err != nil, we stop copying immediately.

See https://pkg.go.dev/github.com/otiai10/copy?tab=doc#Options for more information.

v1.1.0

06 Mar 14:25
b5d0589
Compare
Choose a tag to compare

Options for

  • OnSymlink
  • Skip