From 2831c51d3386d12a97a6ce5f3d795cb51e02beec Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 20 Apr 2023 18:43:43 +0200 Subject: Collect and print statistics about the kind of files we are packing Using depth-first search, we collect some crude statistics about directory tree types (e.g. regular files, directories, device special files and so on) and print them out after serializing the tree. Signed-off-by: David Oberhollenzer --- lib/fstree/Makemodule.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/fstree/Makemodule.am') diff --git a/lib/fstree/Makemodule.am b/lib/fstree/Makemodule.am index 4d553f4..833fe51 100644 --- a/lib/fstree/Makemodule.am +++ b/lib/fstree/Makemodule.am @@ -1,7 +1,8 @@ libfstree_a_SOURCES = include/fstree.h lib/fstree/src/fstree.c \ lib/fstree/src/post_process.c lib/fstree/src/get_path.c \ lib/fstree/src/mknode.c lib/fstree/src/hardlink.c \ - lib/fstree/src/add_by_path.c lib/fstree/src/get_by_path.c + lib/fstree/src/add_by_path.c lib/fstree/src/get_by_path.c \ + lib/fstree/src/stats.c noinst_LIBRARIES += libfstree.a -- cgit v1.2.3