• Carlos Garnacho's avatar
    Add option for modules to discard a directory based on its contents. · 10ff7b93
    Carlos Garnacho authored
    2009-02-11  Carlos Garnacho  <carlos@imendio.com>
    
            Add option for modules to discard a directory based on its contents.
    
            * src/libtracker-common/tracker-module-config.[ch]
            (tracker_module_config_get_ignored_directories_with_content): Added
            function for new module configuration option.
    
            * src/trackerd/tracker-crawler.c: Modified to obey the new
            configuration option, now it must retrieve all contents for a
            directory before processing them in order to know whether it's
            filtered or not.
    
            * data/modules/*.module: Add default values for this option.
    
    
    svn path=/trunk/; revision=2920
    10ff7b93
tracker-module-config.h 2.61 KB