(self, simple_dir: Path)
return subdirs
Return a list of simple index directories that should be searched
        for package indexes when compiling the main index page.
Return a list of simple index directories that should be searched
        for package indexes when compiling the main index page.
Return a list of simple index directories that should be searched for package indexes when compiling the main index page .
def get_simple_dirs(self, simple_dir: Path) -> List[Path]:
        """Return a list of simple index directories that should be searched
        for package indexes when compiling the main index page."""
        if self.hash_index:
            # We are using index page directory hashing, so the directory
            # format is /simple/f/foo/.  We want to return a list of dirs
            # like "simple/f".
            subdirs = [simple_dir / x for x in simple_dir.iterdir() if x.is_dir()]
        else:
            # This is the traditional layout of /simple/foo/.  We should
            # return a single directory, "simple".
            subdirs = [simple_dir]
        return subdirs
def get_simple_dirs ( self , simple_dir : Path ) -> List [ Path ] : if self . hash_index : # We are using index page directory hashing, so the directory # format is /simple/f/foo/.  We want to return a list of dirs # like "simple/f". subdirs = [ simple_dir / x for x in simple_dir . iterdir ( ) if x . is_dir ( ) ] else : # This is the traditional layout of /simple/foo/.  We should # return a single directory, "simple". subdirs = [ simple_dir ] return subdirs