Skip to content

feat: Support UnixFS mode and modification times in ipld dag and mfs …

Codecov / codecov/project succeeded Aug 13, 2024 in 0s

60.09% (+0.20%) compared to 88beadf

View this Pull Request on Codecov

60.09% (+0.20%) compared to 88beadf

Details

Codecov Report

Attention: Patch coverage is 68.49315% with 230 lines in your changes missing coverage. Please review.

Project coverage is 60.09%. Comparing base (88beadf) to head (1062062).

Files Patch % Lines
mfs/dir.go 5.55% 51 Missing ⚠️
tar/extractor.go 63.55% 24 Missing and 19 partials ⚠️
ipld/unixfs/pb/unixfs.pb.go 27.77% 26 Missing ⚠️
mfs/file.go 64.61% 16 Missing and 7 partials ⚠️
files/multipartfile.go 69.23% 12 Missing and 4 partials ⚠️
mfs/ops.go 7.69% 12 Missing ⚠️
ipld/unixfs/importer/helpers/dagbuilder.go 69.69% 8 Missing and 2 partials ⚠️
gateway/backend_car_files.go 0.00% 8 Missing ⚠️
ipld/unixfs/unixfs.go 91.66% 5 Missing and 3 partials ⚠️
ipld/unixfs/importer/balanced/builder.go 68.42% 4 Missing and 2 partials ⚠️
... and 9 more

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #653      +/-   ##
==========================================
+ Coverage   59.89%   60.09%   +0.20%     
==========================================
  Files         237      240       +3     
  Lines       29955    30583     +628     
==========================================
+ Hits        17942    18380     +438     
- Misses      10398    10558     +160     
- Partials     1615     1645      +30     
Files Coverage Δ
files/linkfile.go 67.85% <100.00%> (+27.85%) ⬆️
files/multifilereader.go 85.84% <100.00%> (+3.04%) ⬆️
files/readerfile.go 74.00% <100.00%> (+26.63%) ⬆️
files/slicedirectory.go 80.95% <100.00%> (+7.61%) ⬆️
files/webfile.go 68.42% <100.00%> (+12.32%) ⬆️
ipld/unixfs/io/dagreader.go 81.22% <100.00%> (+0.77%) ⬆️
mfs/root.go 40.50% <ø> (ø)
tar/util_other.go 87.50% <87.50%> (ø)
tar/util_windows.go 92.30% <92.30%> (ø)
files/tarwriter.go 83.52% <93.10%> (+10.91%) ⬆️
... and 16 more

... and 14 files with indirect coverage changes