gdu icon indicating copy to clipboard operation
gdu copied to clipboard

feat: support zip/tar.gz/jar as dir,implement dir path collapsing for single-child chains

Open bingoohuang opened this issue 5 months ago • 3 comments

check the commits detail

bingoohuang avatar Sep 09 '25 00:09 bingoohuang

Codecov Report

:x: Patch coverage is 89.97613% with 42 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 82.92%. Comparing base (b03107d) to head (ac6923c). :warning: Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
pkg/analyze/parallel.go 73.33% 6 Missing and 2 partials :warning:
pkg/analyze/sequential.go 73.33% 6 Missing and 2 partials :warning:
tui/format.go 87.71% 3 Missing and 4 partials :warning:
cmd/gdu/app/app.go 20.00% 2 Missing and 2 partials :warning:
internal/testapp/app.go 0.00% 3 Missing :warning:
cmd/gdu/main.go 0.00% 2 Missing :warning:
internal/testdev/dev.go 0.00% 2 Missing :warning:
tui/show_file.go 60.00% 1 Missing and 1 partial :warning:
internal/testanalyze/analyze.go 0.00% 1 Missing :warning:
internal/testdir/test_dir.go 0.00% 1 Missing :warning:
... and 4 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #434      +/-   ##
==========================================
+ Coverage   82.06%   82.92%   +0.86%     
==========================================
  Files          48       49       +1     
  Lines        4125     4445     +320     
==========================================
+ Hits         3385     3686     +301     
- Misses        655      666      +11     
- Partials       85       93       +8     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Sep 09 '25 01:09 codecov[bot]

Thanks for the PR! There's quite a lot of stuff that needs to be yet done here. We need to disable several actions (delete, view content, spawn shell, etc.) when browsing zip archives.

dundee avatar Sep 09 '25 14:09 dundee

Also I think we shouldn't enable this by default. We should use an flag or config option to enable this behaviour.

dundee avatar Sep 09 '25 14:09 dundee

All my changes vibe coded by Google Antigravity 🙂

dundee avatar Dec 08 '25 22:12 dundee