o
    `’×iü  ã                   @   sŽ   d dl Z d dlmZmZ d dlmZmZmZmZ deee	df de
fdd„Zdeee	df defd	d
„Zdeee  deee  fdd„ZdS )é    N)ÚdatetimeÚtimezone)ÚListÚOptionalÚTextÚUnionÚpathzos.PathLike[Text]Úreturnc                 C   s   t j | ¡S )z*Validates file path as existing local file)Úosr   Úisfile©r   © r   úR/home/ubuntu/SoloSpeech/.venv/lib/python3.10/site-packages/fontTools/diff/utils.pyÚfile_exists   s   r   c                 C   s   t  t | ¡jtj¡ ¡  ¡ S )zEReturns ISO formatted file modification time in local system timezone)	r   Úfromtimestampr
   ÚstatÚst_mtimer   ÚutcÚ
astimezoneÚ	isoformatr   r   r   r   Úget_file_modtime   s   ýr   Ú
table_listc                 C   s   | du rdS dd„ | D ƒS )a  Converts a list of OpenType table string into a Python list or
    return None if the table_list was not defined (i.e., it was not included
    in an option on the command line). Tables that are composed of three
    characters must be right padded with a space.Nc                 S   s   g | ]}|  d ¡‘qS )é   )Úljust)Ú.0Útabler   r   r   Ú
<listcomp>   s    z,get_tables_argument_list.<locals>.<listcomp>r   )r   r   r   r   Úget_tables_argument_list   s   r   )r
   r   r   Útypingr   r   r   r   ÚbytesÚstrÚboolr   r   r   r   r   r   r   Ú<module>   s    &	