
     i                         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Zdeee	df         defdZd	eee                  deee                  fd
ZdS )    N)datetimetimezone)ListOptionalTextUnionpathzos.PathLike[Text]returnc                 @    t           j                            |           S )z*Validates file path as existing local file)osr	   isfiler	   s    ^/srv/www/vhosts/g4struct/public_html/venv/lib/python3.11/site-packages/fontTools/diff/utils.pyfile_existsr      s    7>>$    c                     t          j        t          j        |           j        t
          j                                                                                  S )zEReturns ISO formatted file modification time in local system timezone)	r   fromtimestampr   statst_mtimer   utc
astimezone	isoformatr   s    r   get_file_modtimer      s8     	rwt}}5x|DD		r   
table_listc                 "    | dS 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                 8    g | ]}|                     d           S )   )ljust).0tables     r   
<listcomp>z,get_tables_argument_list.<locals>.<listcomp>   s"    7775A777r    )r   s    r   get_tables_argument_listr#      s#    
 t77J7777r   )r   r   r   typingr   r   r   r   bytesstrboolr   r   r#   r"   r   r   <module>r(      s    				 ' ' ' ' ' ' ' ' . . . . . . . . . . . . eE3(;;<          
5-@!@A d    8$t*)= 8(4PT:BV 8 8 8 8 8 8r   