
    wBf(                     f    d Z ddlmZ ddlmZ ddlmZ ddlmZ  eddd	
      edd              Z	y)zCommon disk utilities.    )contextmanager)unlink   )Utf8NamedTemporaryFile)
deprecatedz24.3z24.9zUse `tempfile` instead.)addendumc              #   h  K   d }d }	 t        dd|      5 }|j                  }|j                  |        |j                          |j	                          | d d d        ||j	                          |t        |       y y # 1 sw Y   *xY w# ||j	                          |t        |       w w xY ww)NwF)modedeletesuffix)r   namewriteflushcloser   )contentr   fhpaths       1lib/python3.12/site-packages/conda/common/disk.pytemporary_content_in_filer      s      
BD#U6J 	b77DHHWHHJHHJJ	 >HHJ4L 	 	 >HHJ4L s4   B2B ABB  !B2B
B "B//B2N) )
__doc__
contextlibr   osr   auxlib.compatr   deprecationsr   r        r   <module>r      s=     %  2 % FF%>?  @r   