No description
Find a file
Yorhel 36bc405a69 Add parent node pointers to Dir struct + remove Parents abstraction
While this simplifies the code a bit, it's a regression in the sense
that it increases memory use.

This commit is yak shaving for another hard link counting approach I'd
like to try out, which should be a *LOT* less memory hungry compared to
the current approach. Even though it does, indeed, add an extra cost of
these parent node pointers.
2021-07-26 14:03:10 +02:00
LICENSES Add REUSE-compliant copyright headers 2021-07-18 11:50:50 +02:00
src Add parent node pointers to Dir struct + remove Parents abstraction 2021-07-26 14:03:10 +02:00
.gitignore Add REUSE-compliant copyright headers 2021-07-18 11:50:50 +02:00
build.zig Add REUSE-compliant copyright headers 2021-07-18 11:50:50 +02:00
ChangeLog ChangeLog, too 2021-07-23 06:38:50 +02:00
Makefile Fix building of static binaries 2021-07-19 16:44:53 +02:00
ncdu.pod Add REUSE-compliant copyright headers 2021-07-18 11:50:50 +02:00
README.md Fix README Zig version oopsie 2021-07-23 06:28:56 +02:00

ncdu-zig

Description

Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote server where you don't have an entire graphical setup available, but it is a useful tool even on regular desktop systems. Ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed.

See the ncdu 2 release announcement for information about the differences between this Zig implementation (2.x) and the C version (1.x).

Requirements

  • Zig 0.8
  • Some sort of POSIX-like OS
  • ncurses libraries and header files

Install

You can use the Zig build system if you're familiar with that.

There's also a handy Makefile that supports the typical targets, e.g.:

make
sudo make install PREFIX=/usr