+
    i                         ^ RI t ^ RIt^ RIt^ RIHt ^ RIHt ^ RIHtH	t	 ^ RI
HtHt ^ RIHtHt ]P                   ! ]4      t ! R R]4      tR	 R
 ltR# )    N)Values)Command)ERRORSUCCESS)FAVORITE_HASHSTRONG_HASHES)read_chunkswrite_outputc                   P   a  ] tR t^t o RtRtRtV 3R lR ltV 3R lR ltRt	V t
R	# )
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] <file> ...Tc                   < V ^8  d   QhRR/# )   returnN )format__classdict__s   "a/Users/ahmad/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_internal/commands/hash.py__annotate__HashCommand.__annotate__   s     : :T :    c                    V P                   P                  R RR\        R\        RP	                  RP                  \        4      4      R7       V P                  P                  ^ V P                   4       R# )z-az--algorithm	algorithmstorez$The hash algorithm to use: one of {}z, )destchoicesactiondefaulthelpN)cmd_opts
add_optionr   r   r   joinparserinsert_option_group)selfs   &r   add_optionsHashCommand.add_options   s_      !!7>>		-( 	! 
	
 	''4==9r   c                <   < V ^8  d   QhRS[ RS[S[,          RS[/# )r   optionsargsr   )r   liststrint)r   r   s   "r   r   r   '   s&     
 
6 
c 
s 
r   c           
         V'       g0   V P                   P                  \        P                  4       \        # VP
                  pV F  p\        R WC\        WC4      4       K  	  \        # )z%s:
--hash=%s:%s)	r"   print_usagesysstderrr   r   r
   _hash_of_filer   )r$   r(   r)   r   paths   &&&  r   runHashCommand.run'   sP    KK##CJJ/L%%	D#TmD6T  r   r   N)__name__
__module____qualname____firstlineno____doc__usageignore_require_venvr%   r3   __static_attributes____classdictcell__)r   s   @r   r   r      s+      )E: :
 
r   r   c                <    V ^8  d   QhR\         R\         R\         /# )r   r2   r   r   )r+   )r   s   "r   r   r   4   s!         r   c                   \        V R4      ;_uu_ 4       p\        P                  ! V4      p\        V4       F  pVP	                  V4       K  	  RRR4       VP                  4       #   + '       g   i     XP                  4       # ; i)z!Return the hash digest of a file.rbN)openhashlibnewr	   update	hexdigest)r2   r   archivehashchunks   &&   r   r1   r1   4   sf    	dD		W{{9% )EKK * 
 >>	 
	 >>s   :A''B	)rB   loggingr/   optparser   pip._internal.cli.base_commandr   pip._internal.cli.status_codesr   r   pip._internal.utils.hashesr   r   pip._internal.utils.miscr	   r
   	getLoggerr5   loggerr   r1   r   r   r   <module>rQ      s?      
  2 9 C >			8	$#' #Lr   