+
    9i                    J    ^ RI Ht ^ RIt^ RIt^ RItR R ltR 3R R lltR# )    )annotationsNc               $    V ^8  d   QhRRRRRR/# )   pathpathlib.Path | strsuffixstrreturnbool )formats   "Z/var/www/html/photoedit/myenv/lib/python3.14/site-packages/onnxruntime/tools/file_utils.py__annotate__r   
   s"     7 7(: 7C 7D 7    c                    \        V \        4      '       g   \        V 4      p V P                  4       P                  VP                  4       4      # )z9
Returns whether `path` ends in `suffix`, ignoring case.
)
isinstancer	   casefoldendswith)r   r   s   &&r   path_match_suffix_ignore_caser   
   s8     dC  4y==?##FOO$566r   c                    R # )Tr   )_s   &r   <lambda>r      s    gkr   c               $    V ^8  d   QhRRRRRR/# )r   file_or_dir_pathr   	predicatez%typing.Callable[[pathlib.Path], bool]r
   zlist[pathlib.Path]r   )r   s   "r   r   r      s$      (5Zr   c                \  aa \        V \        P                  4      '       g   \        P                  ! V 4      p . oR VV3R llpV P                  4       '       dJ   \        P
                  ! V 4       F-  w  r4pV F!  p\        P                  ! W64      pV! V4       K#  	  K/  	  S# V! V 4       S# )aD  
Gets the files in `file_or_dir_path` satisfying `predicate`.
If `file_or_dir_path` is a file, the single file is considered. Otherwise, all files in the directory are
considered.
:param file_or_dir_path: Path to a file or directory.
:param predicate: Predicate to determine if a file is included.
:return: A list of files.
c                   V ^8  d   QhRR/# )r   	file_pathzpathlib.Pathr   )r   s   "r   r   ,files_from_file_or_dir.<locals>.__annotate__#   s     - - -r   c                J   < S! V 4      '       d   SP                  V 4       R # R # )N)append)r   r   selected_filess   &r   process_file,files_from_file_or_dir.<locals>.process_file#   s!    Y!!),  r   )r   pathlibPathis_diroswalk)	r   r   r#   rootr   filesfiler   r"   s	   &f      @r   files_from_file_or_dirr-      s     &55"<<(89N- -    gg&67NDU#LL4	Y'  8  	%&r   )
__future__r   r(   r%   typingr   r-   r   r   r   <module>r0      s)    # 	  7 ^l r   