2biSSKrSSKrSSKrSSKJr SSKJr SSKJr SSK J r J r SSK J r Jr SSKJrJr \R$"\5r"SS \5rS \S \S \4S jrg)N)Values)List)Command)ERRORSUCCESS) FAVORITE_HASH STRONG_HASHES) read_chunks write_outputcF\rSrSrSrSrSrS SjrS\S \ \ S\ 4S jr S r g) HashCommandz} Compute a hash of a local package archive. These can be used with --hash in a requirements file to do repeatable installs. z%prog [options] ...TreturnNc URRSSS[S[SR SR [55S9 UR RSUR5 g) Nz-az --algorithm algorithmstorez$The hash algorithm to use: one of {}z, )destchoicesactiondefaulthelpr)cmd_opts add_optionr rformatjoinparserinsert_option_group)selfs ڍ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/commands/hash.py add_optionsHashCommand.add_optionss_    !!7>> -( !  ''4==9optionsargsc U(d/URR[R5 [$UR nUHn[ SXC[XC55 M [$)Nz%s: --hash=%s:%s) r print_usagesysstderrrrr _hash_of_filer)rr#r$rpaths rrunHashCommand.run(sP KK # #CJJ /L%% D #TmD6T r")rN)__name__ __module__ __qualname____firstlineno____doc__usageignore_require_venvr rrstrintr+__static_attributes__r-r"rr r s7 )E : 6 c s r"r r*rrc[US5n[R"U5n[U5HnUR U5 M SSS5 UR 5$!,(df  WR 5$=f)z!Return the hash digest of a file.rbN)openhashlibnewr update hexdigest)r*rarchivehashchunks rr)r)5sc dD W{{9% )E KK *  >>    >> s :A A<)r;loggingr'optparsertypingrpip._internal.cli.base_commandrpip._internal.cli.status_codesrrpip._internal.utils.hashesrr pip._internal.utils.miscr r getLoggerr.loggerr r5r)r-r"rrKsW 29C>   8 $#'#Lr"