def iterdir(self) -> Iterator['GithubPath']:
    'Yields the sub-paths.'
    if (not self.is_dir()):
        raise NotADirectoryError(f'{self.subpath} is not a directory.')
    for filename in self.github_tree.files_per_folder[self.subpath]:
        (yield (self / filename.name))
Yields the sub-paths.
def iterdir(self) -> Iterator['GithubPath']:
    
    if (not self.is_dir()):
        raise NotADirectoryError(f'{self.subpath} is not a directory.')
    for filename in self.github_tree.files_per_folder[self.subpath]:
        (yield (self / filename.name))