-
- Downloads
You need to sign in or sign up before continuing.
Implement directory refresh
This complicated the scan code more than I had anticipated and has a few inherent bugs with respect to calculating shared hardlink sizes. Still, the merge approach avoids creating a full copy of the subtree, so that's another memory usage related win compared to the C version. On the other hand, it does leak memory if nodes can't be reused. Not quite as well tested as I should have, so I'm sure there's bugs.
Showing
- README.md 3 additions, 1 deletionREADME.md
- doc/ncdu.pod 13 additions, 13 deletionsdoc/ncdu.pod
- src/browser.zig 9 additions, 0 deletionssrc/browser.zig
- src/main.zig 18 additions, 8 deletionssrc/main.zig
- src/model.zig 75 additions, 2 deletionssrc/model.zig
- src/scan.zig 252 additions, 64 deletionssrc/scan.zig
- src/ui.zig 1 addition, 1 deletionsrc/ui.zig
Loading
Please register or sign in to comment