ncdu-zig/src
Yorhel 5a0c8c6175 Add hardlink counting support for the new export format
This ended up a little different than I had originally planned.

The bad part is that my idea for the 'prevlnk' references wasn't going
to work out. For one because the reader has no efficient way to
determine the head reference of this list and implementing a lookup
table would be pretty costly and complex, and second because even with
those references working, they'd be pretty useless because there's no
way to go from an itemref to a full path. I don't see an easy way to
solve these problems, so I'm afraid the efficient hardlink list feature
will have to be disabled when reading from this new format. :(

The good news is that removing these references simplifies the hardlink
counting implementation and removes the requirement for a global inode
map and associated mutex. \o/

Performance is looking really good so far, too.
2024-08-01 07:32:38 +02:00
..
bin_export.zig Add hardlink counting support for the new export format 2024-08-01 07:32:38 +02:00
browser.zig Split mem import and json export out of sink.zig 2024-07-27 11:58:08 +02:00
delete.zig Re-add scan progress UI + directory refreshing 2024-07-14 20:17:19 +02:00
exclude.zig Copyright: remove year & use alias 2024-04-20 15:49:51 +02:00
json_export.zig Split mem import and json export out of sink.zig 2024-07-27 11:58:08 +02:00
json_import.zig Experimental new export format 2024-07-30 14:27:41 +02:00
main.zig Add (temporary) compression support for the new export format 2024-07-31 12:55:43 +02:00
mem_sink.zig Split mem import and json export out of sink.zig 2024-07-27 11:58:08 +02:00
mem_src.zig Experimental new export format 2024-07-30 14:27:41 +02:00
model.zig Add progress indicator to hardlink counting + fix import/mem UI updating 2024-07-28 10:54:58 +02:00
scan.zig Experimental new export format 2024-07-30 14:27:41 +02:00
sink.zig Experimental new export format 2024-07-30 14:27:41 +02:00
ui.zig Fix OOM handling to be thread-safe 2024-07-17 11:48:58 +02:00
util.zig Copyright: remove year & use alias 2024-04-20 15:49:51 +02:00