Merge pull request #25 from otiai10/refactor/do-not-skip-root

Refactor/do not skip root
tree: 4d76a4c8fb8acd3b959693a1c48f6ae725f0f483
  1. .github/
  2. .gitignore
  3. LICENSE
  4. README.md
  5. all_test.go
  6. copy.go
  7. example_test.go
  8. go.mod
  9. go.sum
  10. options.go
  11. testdata/
README.md

copy

Actions Status codecov GoDoc Go Report Card

copy copies directories recursively.

Example:

err := Copy("your/directory", "your/directory.copy")