otiai10 / copy

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

Skip device files by default: Use opt.Specials #84

Closed otiai10 closed 1 year ago

otiai10 commented 2 years ago

Fix #78

otiai10 commented 2 years ago

will fix https://github.com/GoogleContainerTools/kaniko/issues/960

codecov-commenter commented 2 years ago

Codecov Report

Merging #84 (ae3e4ab) into main (8575144) will increase coverage by 0.25%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
+ Coverage   77.40%   77.65%   +0.25%     
==========================================
  Files          13       13              
  Lines         177      179       +2     
==========================================
+ Hits          137      139       +2     
  Misses         20       20              
  Partials       20       20              
Impacted Files Coverage Δ
options.go 85.71% <ø> (ø)
copy.go 76.00% <100.00%> (+0.48%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8575144...ae3e4ab. Read the comment docs.

ajakk commented 1 year ago

I'm hitting the aforementioned kaniko issue. Is anything blocking this? Is testing needed?

otiai10 commented 1 year ago

this is ready. thx

ajakk commented 1 year ago

Thank you!