+
    Tj                     >    R t ^ RIt^ RIHtHt ^ RIHt R.tRR ltR# )z
Move a file in the safest way possible::

    >>> from django.core.files.move import file_move_safe
    >>> file_move_safe("/tmp/old_file", "/tmp/new_file")
N)copymodecopystat)locksfile_move_safec                *    \         P                  P                  W4      '       d   R#  V'       g;   \         P                  ! V\         P
                  4      '       d   \        RV R24      h \         P                  ! W4       R#   \         d     Lhi ; i  \         d     Mi ; i\        T R4      ;_uu_ 4       p\         P                  ! T\         P                  \         P                  ,          \        \         R^ 4      ,          T'       g   \         P                  M^ ,          \         P                  ,          4      p \        P                  ! T\        P                   4       RpTR8w  d*   TP#                  T4      p\         P$                  ! YV4       K0   \        P&                  ! T4       \         P(                  ! T4       M1  \        P&                  ! T4       \         P(                  ! T4       i ; i RRR4       M  + '       g   i     M; i \+        Y4       M/  \,         d"     \/        Y4        M  \,         d      Mi ; ii ; i \         P0                  ! T 4       R#   \,         d   p\        TR^ 4      ^ 8w  d   h  Rp?R# Rp?ii ; i)a=  
Move a file from one location to another in the safest way possible.

First, try ``os.rename``, which is simple but will break across
filesystems. If that fails, stream manually from one file to another in
pure Python.

If the destination file exists and ``allow_overwrite`` is ``False``, raise
``FileExistsError``.
NzDestination file z% exists and allow_overwrite is False.rbO_BINARY    winerror)ospathsamefileOSErroraccessF_OKFileExistsErrorrenameopenO_WRONLYO_CREATgetattrO_EXCLO_TRUNCr   lockLOCK_EXreadwriteunlockcloser   PermissionErrorr   remove)old_file_namenew_file_name
chunk_sizeallow_overwriteold_filefdcurrent_chunkes   &&&&    K/var/www/idalgo/venv/lib/python3.14/site-packages/django/core/files/move.pyr   r      s   77M99 :
 ryy@@.ST
 	

		-/     	 
mT	"	"hWW**"j!,- %4299< **		
	JJr5==) M3& (j 9+ ' LLHHRL LLHHRLL) 
#	"	"	",
. 
	]2 		
		-  
 1j!$* +s   %B -B BBB$#B$;BHAG-H.G44HH	H! !I-H::I	II		II) )J4JJ)i   F)	__doc__r   shutilr   r   django.core.filesr   __all__r    r	   r)   <module>r/      s#    
 % #
Lr	   