Skip to content

Releases: otiai10/copy

Concurrency Option

Choose a tag to compare

@otiai10 otiai10 released this 02 Oct 04:49
fba066a
Merge pull request #123 from otiai10/feature/concurrent-dcopy

Feature/concurrent dcopy

Add `OnError` option

Choose a tag to compare

@otiai10 otiai10 released this 20 Apr 05:03
4359ba7

so that users can suppress specific errors.

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

Choose a tag to compare

@otiai10 otiai10 released this 09 Nov 04:06
4c7c24d
Merge pull request #92 from otiai10/breaking-change/skip-with-fileinfo

[Breaking Change] Skip now accepts FileInfo

v1.7.0

Choose a tag to compare

@otiai10 otiai10 released this 09 Nov 23:24

Features

  • Options.PreserveOwner thanks to @mudler

[Breaking Change] opt.Skip returns error

Choose a tag to compare

@otiai10 otiai10 released this 24 May 06:29
c5f0361

💥 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

Choose a tag to compare

@otiai10 otiai10 released this 06 Mar 14:25
b5d0589

Options for

  • OnSymlink
  • Skip