+
     h  c                  s    ^ RI Ht ^ RIt^ RIt^ RIHt ^ RIHtHt ^ RI	H
t
 ^RIHt ^RIHtHt  ! R R	]4      tR	.tR# )
i    )annotationsN)suppress)EACCESEEXIST)Path)BaseFileLock)ensure_directory_existsraise_on_not_writable_filec                  s2    ] tR t^tRtR R ltR R ltRtR# )SoftFileLockz.Simply watches the existence of the lock file.c                   V ^8  d   QhRR/# i   ZreturnZNone Zformat   "3/usr/lib/python3.14/site-packages/filelock/_soft.py__annotate__SoftFileLock.__annotate__   s     6 6$ 6    c                	sB   \        V P                  4       \        V P                  4       \        P                  \        P
                  ,          \        P                  ,          \        P                  ,          p \        P                  ! V P                  WP                  P                  4      pW P                  n        R#   \         dR   pTP                  \        8X  g2   TP                  \        8X  d   \         P"                  R 8X  g   h  Rp?R#  Rp?R# Rp?ii ; i)Zwin32N)r   	lock_filer   osZO_WRONLYZO_CREATZO_EXCLZO_TRUNCZopen_contextZmodelock_file_fdOSErrorerrnor   r   sysZplatform)selfZflagsZfile_handlerZ	exceptions   &   r   _acquireZSoftFileLock._acquire   s    "4>>2/ KKjjii jj 			6774>>5--:L:LML *6MM&  	6)OOv-#,,'2I 3J *	s   ;5C DA DDc               r	   r
   r   r   r   r   r   r   %   s     * *$ *r   c                	s*   \         P                  ! V P                  P                  4       R V P                  n        \	        \
        4      ;_uu_ 4        \        V P                  4      P                  4        R R R 4       R #   + '       g   i     R # ; i)N)	r   Zcloser   r   r   r   r   r   Zunlink)r   s   &r   _releaseZSoftFileLock._release%   sS    
++,%)"g '') s   $BB	r   N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r   Z__static_attributes__r   r   r   r   r      s    86** *r   r   )Z
__future__r    r   r   Z
contextlibr   r   r   r   Zpathlibr   Z_apir   Z_utilr   r   r   Z__all__r   r   r   <module>r      s6    " 	 
      F*< *B r   