def _validate_cache_config(config): """ Validate cache section in --configfile """ return utils.validate_dir_files(config['dir'])
def _validate_actions_config(config): """ Validate actions section in --configfile """ return utils.validate_dir_files(config['dir'], config['files'])