otiai10 / copy

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

Fix symlinks resolved relative to current working directory #94

Closed adombeck closed 10 months ago

adombeck commented 1 year ago

The Deep OnSymlink option now resolves symlinks relative to the directory containing the symlink instead of the current working directory.

This is a breaking change.

Fixes #26.

codecov[bot] commented 1 year ago

Codecov Report

Merging #94 (7b5f987) into main (4c7c24d) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   78.33%   78.33%           
=======================================
  Files           9        9           
  Lines         180      180           
=======================================
  Hits          141      141           
  Misses         19       19           
  Partials       20       20           
Impacted Files Coverage Δ
copy.go 78.76% <100.00%> (ø)
test_setup.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

otiai10 commented 10 months ago

See #98 cc @samuel-phan