def __init__(self, location, resource_pool):
super(FileSystemPackageRepository, self).__init__(location, resource_pool)<EOL>global _settings<EOL>_settings = config.plugins.package_repository.filesystem<EOL>self.register_resource(FileSystemPackageFamilyResource)<EOL>self.register_resource(FileSystemPackageResource)<EOL>self.register_resource(FileSystemVariantResource)<EOL>self.register_resource(FileSystemCombinedPackageFamilyResource)<EOL>self.register_resource(FileSystemCombinedPackageResource)<EOL>self.register_resource(FileSystemCombinedVariantResource)<EOL>self.get_families = lru_cache(maxsize=None)(self._get_families)<EOL>self.get_family = lru_cache(maxsize=None)(self._get_family)<EOL>self.get_packages = lru_cache(maxsize=None)(self._get_packages)<EOL>self.get_variants = lru_cache(maxsize=None)(self._get_variants)<EOL>self.get_file = lru_cache(maxsize=None)(self._get_file)<EOL>
Create a filesystem package repository.

        Args:
            location (str): Path containing the package repository.