Skip to content

Commit

Permalink
docs: updates from Homebrew/brew
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewTestBot committed Nov 10, 2023
1 parent ed12b14 commit 28634a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Utils/Curl.html
Original file line number Diff line number Diff line change
Expand Up @@ -1626,7 +1626,7 @@ <h3 class="signature " id="curl_http_content_headers_and_checksum-class_method">
</span> <span class='kw'>end</span>
<span class='kw'>end</span>
<span class='id identifier rubyid_file_contents'>file_contents</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span><span class='const'>T</span><span class='period'>.</span><span class='id identifier rubyid_must'>must</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_open_args'>open_args</span><span class='rparen'>)</span>
<span class='id identifier rubyid_file_hash'>file_hash</span> <span class='op'>=</span> <span class='const'>Digest</span><span class='op'>::</span><span class='const'>SHA2</span><span class='period'>.</span><span class='id identifier rubyid_hexdigest'>hexdigest</span><span class='lparen'>(</span><span class='id identifier rubyid_file_contents'>file_contents</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_hash_needed'>hash_needed</span>
<span class='id identifier rubyid_file_hash'>file_hash</span> <span class='op'>=</span> <span class='const'>Digest</span><span class='op'>::</span><span class='const'>SHA256</span><span class='period'>.</span><span class='id identifier rubyid_hexdigest'>hexdigest</span><span class='lparen'>(</span><span class='id identifier rubyid_file_contents'>file_contents</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_hash_needed'>hash_needed</span>
<span class='kw'>end</span>

<span class='lbrace'>{</span>
Expand Down

0 comments on commit 28634a8

Please sign in to comment.