HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: //proc/thread-self/root/lib64/python2.7/site-packages/hgext/lfs/pointer.pyo
�
1�3\c@@s�ddlmZddlZddlmZddlmZmZddlm	Z	dej
fd��YZdefd	��YZ
e
jZdS(
i(tabsolute_importN(t_(terrortpycompat(t
stringutiltInvalidPointercB@seZRS((t__name__t
__module__(((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pyRst
gitlfspointercB@s�eZdZd�Zed��Zd�Zd�Zd�Ze	j
d�Ze	j
d�Zie	j
d�d	6e	j
d
�d6e	j
de
je��d
6Zd�ZRS(s"https://git-lfs.github.com/spec/v1cO@s=|j|d<tt|�j|�|jtj|��dS(Ntversion(tVERSIONtsuperRt__init__tupdateRtbyteskwargs(tselftargstkwargs((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pyRs
cC@s[y$|d�|j�D��j�SWn0tk
rVttd�tj|���nXdS(Ncs@s!|]}|jdd�VqdS(t iN(tsplit(t.0tl((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pys	<genexpr>$sscannot parse git-lfs text: %s(t
splitlinestvalidatet
ValueErrorRRRtpprint(tclsttext((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pytdeserialize!s
$
cC@s>d�}t|j�j�d|�}djd�|D��S(NcS@s|ddk|fS(NiR	((tx((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pyt<lambda>*ttkeyRcs@s%|]\}}d||fVqdS(s%s %s
N((Rtktv((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pys	<genexpr>,s(tsortedRt	iteritemstjoin(Rtsortkeyfunctitems((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pyt	serialize)s	cC@s|djd�dS(Ntoidt:i����(R(R((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pyR).scC@st|d�S(Ntsize(tint(R((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pyR+1ss\A[a-z0-9.-]+\Zs
\A[^\n]*\Zs
\A[0-9]+\ZR+s\Asha256:[0-9a-f]{64}\ZR)s\A%s\ZR	cC@sGd}x�|j�D]�\}}||jkry|j|j|�slttd�|tj|�f��n|d7}n+|jj|�s�ttd�|��n|jj|�sttd�|tj|�f��qqWt	|j�|krCt
t|jj��j
|j���}ttd�dj|���n|S(s?raise InvalidPointer on error. return self if there is no erroris#unexpected lfs pointer value: %s=%sisunexpected lfs pointer key: %ssmissing lfs pointer keys: %ss, (R$t_requiredretmatchRRRRt_keyret_valueretlenR#tsettkeyst
differenceR%(Rt
requiredcountR!R"tmiss((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pyR>s$	
 *(RRR
RtclassmethodRR(R)R+tretcompileR/R0RtreescapeR-R(((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pyRs				 (t
__future__RR8tmercurial.i18nRt	mercurialRRtmercurial.utilsRtStorageErrorRtdictRR(((s7/usr/lib64/python2.7/site-packages/hgext/lfs/pointer.pyt<module>s: