
    h                     X    S SK JrJrJr  SSKJrJr  \(       a  SSKJr   " S S\5      r	g)	    )AnyOptionalTYPE_CHECKING   )	CloudPathNoStatError   )LocalClientc                   n    \ rS rSr% SrS\S'   SS\4S jjrSS\4S jjrSS jr	SS
\S\
\   4S jjrSrg	)	LocalPath
   zAbstract CloudPath for accessing objects the local filesystem. Subclasses are as a
monkeypatch substitutes for normal CloudPath subclasses when writing tests.r
   clientreturnc                 4    U R                   R                  XS9$ N)follow_symlinks)r   _is_dirselfr   s     V/home/james-whalen/.local/lib/python3.13/site-packages/cloudpathlib/local/localpath.pyis_dirLocalPath.is_dir   s    {{""4"II    c                 4    U R                   R                  XS9$ r   )r   _is_filer   s     r   is_fileLocalPath.is_file   s    {{##D#JJr   c                 x     U R                   R                  U 5      nU$ ! [         a    [        SU  S35      ef = f)NzNo stats available for z%; it may be a directory or not exist.)r   _statFileNotFoundErrorr   )r   r   metas      r   statLocalPath.stat   sM    	;;$$T*D
 	 ! 	)$/TU 	s    9Nexist_okmodec                 :    U R                   R                  X5        g )N)r   _touch)r   r$   r%   s      r   touchLocalPath.touch   s    4*r    )T)TN)__name__
__module____qualname____firstlineno____doc____annotations__boolr   r   r"   r   r   r(   __static_attributes__r*   r   r   r   r   
   sM    S Jd JKt K+d +# + +r   r   N)
typingr   r   r   	cloudpathr   r   localclientr
   r   r*   r   r   <module>r6      s"    / / . (+	 +r   