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/interfaces/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib64/python3.9/site-packages/mercurial/interfaces/__pycache__/dirstate.cpython-39.opt-1.pyc
a

�+�b��@s:ddlmZmZddlZddlmZGdd�dej�ZdS)�)�absolute_import�print_functionN�)�utilc@sNeZdZdd�Ze�d�Zdd�Zdd�Ze�d�Z	e�d	�Z
ejd
d��Z
dd
�Zdd�Zdd�Zdd�ZdKdd�Zdd�Zdd�Zdd�ZeZdd�Zdd �Zd!d"�Zd#d$�ZdLd%d&�Zd'd(�Zd)d*�Zd+d,�Zd-d.�Zd/d0�Z dMd2d3�Z!d4d5�Z"dNd6d7�Z#d8d9�Z$d:d;�Z%d<d=�Z&dOd?d@�Z'dAdB�Z(dCdD�Z)dEdF�Z*dGdH�Z+dIdJ�Z,dS)P�	idirstatecCsdS)z�Create a new dirstate object.

        opener is an open()-like callable that can be used to open the
        dirstate file; root is the root of the directory tracked by
        the dirstate.
        N�)�openerZui�rootZvalidateZ
sparsematchfnZ
nodeconstantsZuse_dirstate_v2rr�C/usr/lib64/python3.9/site-packages/mercurial/interfaces/dirstate.py�__init__	s	zidirstate.__init__zMatcher for ignored files.cCsdS)z5Return a list of files containing patterns to ignore.Nrrrrr
�_ignorefilesszidirstate._ignorefilescCsdS)zBGiven a file `f`, return the ignore file and line that ignores it.Nr)�frrr
�_ignorefileandline szidirstate._ignorefileandlinezCallable for checking symlinks.z Callable for checking exec bits.cCsdS)z�Context manager for handling dirstate parents.

        If an exception occurs in the scope of the context manager,
        the incoherent dirstate won't be written when wlock is
        released.
        Nrrrrr
�parentchange&szidirstate.parentchangecCsdS)zsReturns true if the dirstate is in the middle of a set of changes
        that modify the dirstate parent.
        Nrrrrr
�pendingparentchange/szidirstate.pendingparentchangecCsdS�Nr)�drrr
�hasdir4szidirstate.hasdircCsdSrr)Z
buildfallbackrrr
�flagfunc7szidirstate.flagfunccCsdS)aReturn the path from which a canonical path is calculated.

        This path should be used to resolve file patterns or to convert
        canonical paths back to file paths for display. It shouldn't be
        used to get real file paths. Use vfs functions instead.
        Nrrrrr
�getcwd:szidirstate.getcwdNcCsdSrr)r
�cwdrrr
�pathtoBszidirstate.pathtocCsdS)z3Check if bytestring `key` is known to the dirstate.Nr)�keyrrr
�__contains__Eszidirstate.__contains__cCsdS)z:Iterate the dirstate's contained filenames as bytestrings.Nrrrrr
�__iter__Hszidirstate.__iter__cCsdS)zpIterate the dirstate's entries as (filename, DirstateItem.

        As usual, filename is a bytestring.
        Nrrrrr
�itemsKszidirstate.itemscCsdSrrrrrr
�parentsSszidirstate.parentscCsdSrrrrrr
�p1Vszidirstate.p1cCsdSrrrrrr
�p2Yszidirstate.p2cCsdSrrrrrr
�branch\szidirstate.branchcCsdS)z�Set dirstate parents to p1 and p2.

        When moving from two parents to one, 'm' merged entries a
        adjusted to normal and previous copy records discarded and
        returned by the call.

        See localrepo.setparents()
        Nr)rrrrr
�
setparents_szidirstate.setparentscCsdSrr)rrrr
�	setbranchiszidirstate.setbranchcCsdS)aCauses the next access to reread the dirstate.

        This is different from localrepo.invalidatedirstate() because it always
        rereads the dirstate. Use localrepo.invalidatedirstate() if you want to
        check whether the dirstate has changed before rereading it.Nrrrrr
�
invalidatelszidirstate.invalidatecCsdS)z=Mark dest as a copy of source. Unmark dest if source is None.Nr)�source�destrrr
�copysszidirstate.copycCsdSrr)�filerrr
�copiedvszidirstate.copiedcCsdSrrrrrr
�copiesyszidirstate.copiesFcCsdS)aL
        normalize the case of a pathname when on a casefolding filesystem

        isknown specifies whether the filename came from walking the
        disk, to avoid extra filesystem access.

        If ignoremissing is True, missing path are returned
        unchanged. Otherwise, we try harder to normalize possibly
        existing path components.

        The normalized case is determined based on the following precedence:

        - version of name already stored in the dirstate
        - version of name stored on disk
        - version provided via command arguments
        Nr)�pathZisknownZ
ignoremissingrrr
�	normalize|szidirstate.normalizecCsdSrrrrrr
�clear�szidirstate.clearcCsdSrr)�parentZallfilesZchangedfilesrrr
�rebuild�szidirstate.rebuildcCsdS)z�Return identity of dirstate it to detect changing in storage

        If identity of previous dirstate is equal to this, writing
        changes based on the former dirstate out can keep consistency.
        Nrrrrr
�identity�szidirstate.identitycCsdSrr)�trrrr
�write�szidirstate.writecCsdS)a%add a callback to be called when the wd parents are changed

        Callback will be called with the following arguments:
            dirstate, (oldp1, oldp2), (newp1, newp2)

        Category is a unique identifier to allow overwriting an old callback
        with a newer callback.
        Nr)�category�callbackrrr
�addparentchangecallback�sz!idirstate.addparentchangecallbackTcCsdS)a3
        Walk recursively through the directory tree, finding all files
        matched by match.

        If full is False, maybe skip some known-clean files.

        Return a dict mapping filename to stat-like object (either
        mercurial.osutil.stat instance or return value of os.stat()).

        Nr)�match�subrepos�unknown�ignoredZfullrrr
�walk�szidirstate.walkcCsdS)a|Determine the status of the working copy relative to the
        dirstate and return a pair of (unsure, status), where status is of type
        scmutil.status and:

          unsure:
            files that might have been modified since the dirstate was
            written, but need to be read to be sure (size is the same
            but mtime differs)
          status.modified:
            files that have definitely been modified since the dirstate
            was written (different size or mode)
          status.clean:
            files that have definitely not been modified since the
            dirstate was written
        Nr)r4r5r7Zcleanr6rrr
�status�szidirstate.statuscCsdS)zT
        return files in the dirstate (in whatever state) filtered by match
        Nr)r4rrr
�matches�szidirstate.matchescCsdS)z&Save current dirstate into backup fileNr�r/Z
backupnamerrr
�
savebackup�szidirstate.savebackupcCsdS)zRestore dirstate by backup fileNrr;rrr
�
restorebackup�szidirstate.restorebackupcCsdS)zClear backup fileNrr;rrr
�clearbackup�szidirstate.clearbackup)N)N)FF)N)T)-�__name__�
__module__�__qualname__r�
interfaceutilZ	Attribute�_ignorerrZ
_checklinkZ
_checkexec�
contextlib�contextmanagerrrrrrrrrrZ	iteritemsrrrrr r!r"r%r'r(r*r+r-r.r0r3r8r9r:r<r=r>rrrr
rsN










r)	Z
__future__rrrD�rrBZ	Interfacerrrrr
�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit