copy v1.2.0 Release Notes

Release Date: 2020-05-24 // almost 4 years ago
  • ๐Ÿš€ ๐Ÿ’ฅ 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.


Previous changes from v1.1.0

  • Options for

    • OnSymlink
    • Skip