deleting DUChain cache dir together with session dir

David Nolden zwabel at
Fri Jul 22 00:03:53 UTC 2011

The same thing is true for session-directories, we don't yet delete
all those anonymous temporary sessions.

What we need is some "housekeeping", something like:
* After shutdown, check all existing sessions. If they are anonymous
(eg. not accessible through the menu), not currently open, and not
accessed for more than 48 hours, delete the directory. (We have to be
careful not to delete sessions which are still open somewhere,
consider for example a shared-networking environment)
* Check all existing duchain-directories, and delete all dirs where
the corresponding session-dir doesn't exist.

Greetings, David

More information about the KDevelop-devel mailing list