]> git.ipfire.org Git - thirdparty/sarg.git/commit
Rewrite the index tree rebuilding
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Sun, 5 Oct 2014 18:36:10 +0000 (20:36 +0200)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Sun, 5 Oct 2014 18:36:10 +0000 (20:36 +0200)
commit9afddeaecb73d4b676275c063ba442906ce8e460
treed5f10595bf21e29386d195e0820d4a3efbd9fdb3
parentef4acae5b0414935fd12618c5a30ef9067f9f0d0
Rewrite the index tree rebuilding

When index_tree is set to "date", the reports are stored in a tree based
on their content's date. The existing code was somewhat broken.

In addition, the directory size used to be computed and displayed in the
years index file. It is now computed and displayed in the months and days
indexes.
include/defs.h
index.c
util.c