This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import os | |
from typing import Dict | |
import re | |
def parse_files(content: str) -> Dict[str, str]: | |
"""Parse the input content into a dictionary of filepath -> content.""" | |
files = {} | |
maybe_files = set() | |
current_file = None |