Don't scan ~/.cache at all if it won't be backed up
While ~/.cache
is not backed up by default, it seems to be scanned at the very least.
For example I see lots of lines like the following:
Scanning: /home/mathieu/.cache/buildstream/build/abi-platform-abi-i4pvqy2w/root/usr/lib/debug/source/components/gstreamer-vaapi.bst/gst/vaapi/gstvaapisink.h
The ~/.cache/buildstream
directory contains lots an lots and lots of files (buildstream is used to build OSes, Flatpak Sdks, …), just scanning over them takes a significant amount of time.
Could DejaDup just not scan the dirs it ignores anyway?