INNER CODE UNIT · Python

FileScanner

qodex-ai/apimesh · file_scanner.py:8

class FileScanner:

    def __init__(self):
        pass

    def get_all_file_paths(self) -> List[str|bytes]:
        """
        Get all file paths in the repository, ignoring specified directories
        """
        repo_path = get_repo_path()
        file_paths = []
        supported_extensions = ('.py', '.js', '.ts', '.java', '.rb', '.go')

        for root, dirs, files in os.walk(repo_path):
            dirs[:] = [d for d in dirs if d not in config.ignored_dirs]

            if not self.should_process_directory(root):
                continue

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…