Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support UnixFS 1.5 file mode and modification times #653

Merged
merged 21 commits into from
Aug 20, 2024

chore: align examples with main go.mod

b2660c5
Select commit
Loading
Failed to load commit list.
Merged

feat: support UnixFS 1.5 file mode and modification times #653

chore: align examples with main go.mod
b2660c5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 20, 2024 in 0s

60.10% (+0.21%) compared to 88beadf

View this Pull Request on Codecov

60.10% (+0.21%) compared to 88beadf

Details

Codecov Report

Attention: Patch coverage is 68.31551% with 237 lines in your changes missing coverage. Please review.

Project coverage is 60.10%. Comparing base (88beadf) to head (b2660c5).

Files Patch % Lines
mfs/dir.go 5.55% 51 Missing ⚠️
tar/extractor.go 66.99% 18 Missing and 16 partials ⚠️
mfs/file.go 62.33% 21 Missing and 8 partials ⚠️
ipld/unixfs/pb/unixfs.pb.go 27.77% 26 Missing ⚠️
files/multipartfile.go 69.23% 12 Missing and 4 partials ⚠️
mfs/ops.go 7.69% 12 Missing ⚠️
files/meta.go 42.10% 8 Missing and 3 partials ⚠️
ipld/unixfs/importer/helpers/dagbuilder.go 69.69% 8 Missing and 2 partials ⚠️
gateway/backend_car_files.go 0.00% 8 Missing ⚠️
files/meta_posix.go 68.42% 3 Missing and 3 partials ⚠️
... and 10 more

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #653      +/-   ##
==========================================
+ Coverage   59.89%   60.10%   +0.21%     
==========================================
  Files         237      241       +4     
  Lines       29955    30600     +645     
==========================================
+ Hits        17942    18393     +451     
- Misses      10398    10563     +165     
- Partials     1615     1644      +29     
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% <ø> (ø)
files/meta_other.go 75.00% <75.00%> (ø)
files/tarwriter.go 83.52% <93.10%> (+10.91%) ⬆️
files/util.go 75.86% <89.47%> (+25.86%) ⬆️
... and 17 more

... and 13 files with indirect coverage changes