-
- Downloads
Implement JSON file import
Performance is looking great, but the code is rather ugly and potentially buggy. Also doesn't handle hard links without an "nlink" field yet. Error handling of the import code is different from what I've been doing until now. That's intentional, I'll change error handling of other pieces to call ui.die() directly rather than propagating error enums. The approach is less testable but conceptually simpler, it's perfectly fine for a tiny application like ncdu.
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- README.md 0 additions, 1 deletionREADME.md
- src/browser.zig 5 additions, 3 deletionssrc/browser.zig
- src/main.zig 15 additions, 9 deletionssrc/main.zig
- src/model.zig 4 additions, 4 deletionssrc/model.zig
- src/scan.zig 476 additions, 73 deletionssrc/scan.zig
- src/ui.zig 0 additions, 1 deletionsrc/ui.zig
Loading
Please register or sign in to comment