otiai10 / copy

Go copy directory recursively
https://pkg.go.dev/github.com/otiai10/copy
MIT License
713 stars 115 forks source link

feat: Add FileCopyMethod option / API #164

Open eth-p opened 3 weeks ago

eth-p commented 3 weeks ago

Implemented as discussed in #163 in this comment.

A change was needed:

I have to check for the source file being deleted after the FileCopyMethod function is run.

I also had to change the CI so I could run workflows on my own repo. You can drop that commit before merging it.