Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
mercurial
/
dirstateutils
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: v2.cpython-310.pyc
o �]Lb8; � @ s� d dl mZ d dlZddlmZ ddlmZmZ e�d�Z dZ dZe�d�Z e�d �Ze e jks2J �eejks9J �d Zdd� Zd d� Zdd� ZejG dd� de��Zdd� Zdd� Zdd� Zdd� Zdd� ZdS )� )�absolute_importN� )�attr)�error�policy�parsers�, z>LLLLL4s20sz>LHHLHLLLLHlll� c C s, t �|�\}}}}}} } t| ||||� dS )a; parse a full v2-dirstate from a binary data into dictionnaries: - map: a {path: entry} mapping that will be filled - copy_map: a {path: copy-source} mapping that will be filled - data: a binary blob contains v2 nodes data - tree_metadata:: a binary blob of the top level node (from the docket) N)� TREE_METADATA�unpack�parse_nodes)�map�copy_map�data� tree_metadata�root_nodes_start�root_nodes_len�_nodes_with_entry_count�_nodes_with_copy_source_count�_unreachable_bytes�_unused�_ignore_patterns_hash� r �</usr/lib/python3/dist-packages/mercurial/dirstateutils/v2.py�parse_dirstate? s �r c C s� t |�D ]I}|t| }t||t�}t�|�\ }} } }}} }}}}}}}t| ||| |� tj�||||�}|j s9qt||| �}|| |<