Open
Description
Here is the display using ncdu
:
--- /path/to/projects/shader_brot ------------------------------------------------------------------------
/..
1.1 GiB [##########] /target
216.0 KiB [ ] /.git
116.0 KiB [ ] Cargo.lock
20.0 KiB [ ] LICENSE
20.0 KiB [ ] /resources
20.0 KiB [ ] /src
4.0 KiB [ ] README.md
4.0 KiB [ ] TODO.md
4.0 KiB [ ] Cargo.toml
4.0 KiB [ ] .gitattributes
4.0 KiB [ ] .gitignore
┌───Item info──────────────────────────────────────────────┐
│ │
│ Name: target │
│ Path: /path/to/projects/shader_brot │
│ Type: Directory │
│ │
│ Disk usage: 1.1 GiB (1,180,995,584 B) │
│ Apparent size: 1.1 GiB (1,174,963,573 B) │
│ │
│ Press i to hide this window │
└──────────────────────────────────────────────────────────┘
here is the display in diskonaut:
Total: 1.4G (2797 files), freed: 0 | /path/to/projects/shader_brot
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │
│ │
│ │
│ │
│ target/ (+2740 descendants) │
│ │
│ 1.4G (100%) │
│ │
│ │
│ │
│ │
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘
(x = Small files)
I ran the numbers:
- small files take up 425984B
- target takes up 0.999639430994373 of the directory (FP errors in that)
Only going by behavior shown, I suspect the % of the directory that target/
takes up is being rounded to a flat 100%, causing the render to exclude the other files.