whikloj / BagItTools

A PHP BagIt library
MIT License
11 stars 5 forks source link

Abort fetch downloads if the filesize is more than 5% larger than the expected size. #23

Closed whikloj closed 3 years ago

whikloj commented 3 years ago

Resolves #22

codecov[bot] commented 3 years ago

Codecov Report

Merging #23 into main will increase coverage by 1.01%. The diff coverage is 89.47%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main      #23      +/-   ##
============================================
+ Coverage     78.69%   79.71%   +1.01%     
- Complexity      467      482      +15     
============================================
  Files             7        7              
  Lines          1244     1267      +23     
============================================
+ Hits            979     1010      +31     
+ Misses          265      257       -8     
Impacted Files Coverage Δ Complexity Δ
src/Fetch.php 73.47% <89.18%> (+6.81%) 94.00 <12.00> (+14.00)
src/Bag.php 79.11% <100.00%> (ø) 281.00 <0.00> (+1.00)

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 fdff8e3...9bf2918. Read the comment docs.