JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrJFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr ؓgddlmZddlZddlZddlmZddlmZddlm Z ddl m Z ddl m Z dd lmZmZej"d k(rddlZGd d e Zd gZyGd d e Zd gZy)) annotationsN)suppress)EACCES)Path)cast) BaseFileLock)ensure_directory_existsraise_on_not_writable_filewin32c eZdZdZddZddZy)WindowsFileLockWUses the :func:`msvcrt.locking` function to hard lock the lock file on Windows systems.cht|jt|jtjtj ztj z} tj|j||jj} tj|tjd||j_ y#t$r3}tj||j t"k7rYd}~yd}~wwxYw#t$r}|j t"k7rYd}~yd}~wwxYw)Nr)r lock_filer osO_RDWRO_CREATO_TRUNCopen_contextmodemsvcrtlockingLK_NBLCK lock_file_fdOSErrorcloseerrnor)selfflagsfd exceptions @/opt/hc_python/lib/python3.12/site-packages/filelock/_windows.py_acquirezWindowsFileLock._acquires &t~~ 6 #DNN 3 ****  4WWT^^UDMM4F4FG 4NN2v: 24DMM. HHRL &01  ??f,- s05D %C D)DD D1D,,D1chtd|jj}d|j_tj|tj dt j|tt5t|jjdddy#1swYyxYw)Nintr) rrrrrLK_UNLCKrrrrrrunlink)r r"s r$_releasezWindowsFileLock._release*sleT]]778B)-DMM & NN2v 2 HHRL'"T^^$++-#""s ;$B((B1NreturnNone__name__ __module__ __qualname____doc__r%r*r$rrse 4. .r4rc eZdZdZddZddZy)rrctNNotImplementedErrorr s r$r%zWindowsFileLock._acquire8% %r4ctr7r8r:s r$r*zWindowsFileLock._release;r;r4Nr+r.r3r4r$rr5se & &r4) __future__rrsys contextlibrrrpathlibrtypingr_apir _utilr r platformrr__all__r3r4r$rFs`" F<<7!.,!.` &,& r4