copy

Go copy directory recursively

MIT License

Stars
720
Committers
34

Bot releases are visible (Hide)

copy - Concurrency Option Latest Release

Published by otiai10 about 1 year ago

copy - Add `OnError` option

Published by otiai10 over 1 year ago

so that users can suppress specific errors.

copy - v1.9.0 πŸ’₯ Breaking Change: Skip now accepts os.FileInfo

Published by otiai10 almost 2 years ago

copy - v1.7.0

Published by otiai10 almost 3 years ago

Features

  • Options.PreserveOwner thanks to @mudler
copy - [Breaking Change] opt.Skip returns error

Published by otiai10 over 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.

copy - v1.1.0

Published by otiai10 over 4 years ago

Options for

  • OnSymlink
  • Skip