def create_empty_file()

in composer_local_dev/files.py [0:0]


def create_empty_file(path: pathlib.Path, skip_if_exist: bool = True):
    """Create an empty file."""
    if skip_if_exist and path.exists():
        return
    with open(path, "w"):
        pass