summaryrefslogtreecommitdiff
path: root/lib/mu-scanner.cc
AgeCommit message (Collapse)Author
2025-05-24mu-scanner: improve ignore_dentry checkDirk-Jan C. Binnema
2024-09-03scanner: ignore emacs auto-savesDirk-Jan C. Binnema
It's better to _not_ have auto-saves for your draft directory, but if you do, ignore them at least in mu. It may still trip up mbsync and friends, but not much we can do about that. Clean up the implementation a bit as well.
2024-05-01scanner: don't skip directory entries with type `DT_UNKNOWN`Jeremy Sowden
According to the readdir(2) man-page, not all file-systems support returning the entry's file-type in `d_type`. For example, the reprotest reproducibility tool, uses the disorderfs FUSE file-system to shuffle the order in which directory entries are returned, and this does not set `d_type`. Therefore, in addition to entries with type `DT_DIR` and `DT_LNK`, also process entries with type `DT_UNKNOWN`. Signed-off-by: Jeremy Sowden <azazel@debian.org>
2023-09-16mu-index: add blocking start()Dirk-Jan C. Binnema
Useful for unit tests
2023-09-13lib: unit tests: improve / better coverageDirk-Jan C. Binnema
2023-09-12unit tests: improveDirk-Jan C. Binnema
and add a new one for the indexer
2023-09-11scanner: add more unit testsDirk-Jan C. Binnema
2023-09-10lib: move index/ into main lib/Dirk-Jan C. Binnema
simplify things a bit