File: //usr/lib/python3/dist-packages/mercurial/interfaces/__pycache__/dirstate.cpython-310.pyc
o
�]Lb� � @ s: d dl mZmZ d dlZddlmZ G dd� dej�ZdS )� )�absolute_import�print_functionN� )�utilc @ sN e Zd Zdd� Ze�d�Zdd� Zdd� Ze�d�Z e�d �Z
ejd
d� �Z
dd
� Zdd� Zdd� Zdd� ZdKdd�Zdd� Zdd� Zdd� ZeZdd� Zdd � Zd!d"� Zd#d$� ZdKd%d&�Zd'd(� Zd)d*� Zd+d,� Zd-d.� Zd/d0� Z dLd2d3�Z!d4d5� Z"dKd6d7�Z#d8d9� Z$d:d;� Z%d<d=� Z&dMd?d@�Z'dAdB� Z(dCdD� Z)dEdF� Z*dGdH� Z+dIdJ� Z,dS )N� idirstatec C � dS )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� )�opener�ui�root�validate�
sparsematchfn�
nodeconstants�use_dirstate_v2r r �?/usr/lib/python3/dist-packages/mercurial/interfaces/dirstate.py�__init__ � zidirstate.__init__zMatcher for ignored files.c C r )z5Return a list of files containing patterns to ignore.Nr r r r r �_ignorefiles r zidirstate._ignorefilesc C r )zBGiven a file `f`, return the ignore file and line that ignores it.Nr )�fr r r �_ignorefileandline r zidirstate._ignorefileandlinezCallable for checking symlinks.z Callable for checking exec bits.c C r )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.
Nr r r r r �parentchange&