Skip to content

Commit 26bd897

Browse files
committed
deploy: f0e8d44
1 parent c19af99 commit 26bd897

File tree

82 files changed

+174
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+174
-86
lines changed

dev/src/uu_cksum/cksum.rs.html

+14-2
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,12 @@
266266
<a href="#266" id="266">266</a>
267267
<a href="#267" id="267">267</a>
268268
<a href="#268" id="268">268</a>
269+
<a href="#269" id="269">269</a>
270+
<a href="#270" id="270">270</a>
271+
<a href="#271" id="271">271</a>
272+
<a href="#272" id="272">272</a>
273+
<a href="#273" id="273">273</a>
274+
<a href="#274" id="274">274</a>
269275
</pre><pre class="rust"><code><span class="comment">// This file is part of the uutils coreutils package.
270276
//
271277
// (c) Michael Gehring &lt;mg@ebfe.org&gt;
@@ -427,8 +433,14 @@
427433
div_ceil(sz, options.output_bits),
428434
filename.display()
429435
),
430-
(<span class="kw">_</span>, <span class="bool-val">true</span>) =&gt; <span class="macro">println!</span>(<span class="string">&quot;{sum} {sz}&quot;</span>),
431-
(<span class="kw">_</span>, <span class="bool-val">false</span>) =&gt; <span class="macro">println!</span>(<span class="string">&quot;{sum} {sz} {}&quot;</span>, filename.display()),
436+
(ALGORITHM_OPTIONS_CRC, <span class="bool-val">true</span>) =&gt; <span class="macro">println!</span>(<span class="string">&quot;{sum} {sz}&quot;</span>),
437+
(ALGORITHM_OPTIONS_CRC, <span class="bool-val">false</span>) =&gt; <span class="macro">println!</span>(<span class="string">&quot;{sum} {sz} {}&quot;</span>, filename.display()),
438+
(ALGORITHM_OPTIONS_BLAKE2B, <span class="kw">_</span>) =&gt; <span class="macro">println!</span>(<span class="string">&quot;BLAKE2b ({}) = {sum}&quot;</span>, filename.display()),
439+
<span class="kw">_ </span>=&gt; <span class="macro">println!</span>(
440+
<span class="string">&quot;{} ({}) = {sum}&quot;</span>,
441+
options.algo_name.to_ascii_uppercase(),
442+
filename.display()
443+
),
432444
}
433445
}
434446

dev/src/uu_cp/cp.rs.html

+52
Original file line numberDiff line numberDiff line change
@@ -1890,6 +1890,32 @@
18901890
<a href="#1890" id="1890">1890</a>
18911891
<a href="#1891" id="1891">1891</a>
18921892
<a href="#1892" id="1892">1892</a>
1893+
<a href="#1893" id="1893">1893</a>
1894+
<a href="#1894" id="1894">1894</a>
1895+
<a href="#1895" id="1895">1895</a>
1896+
<a href="#1896" id="1896">1896</a>
1897+
<a href="#1897" id="1897">1897</a>
1898+
<a href="#1898" id="1898">1898</a>
1899+
<a href="#1899" id="1899">1899</a>
1900+
<a href="#1900" id="1900">1900</a>
1901+
<a href="#1901" id="1901">1901</a>
1902+
<a href="#1902" id="1902">1902</a>
1903+
<a href="#1903" id="1903">1903</a>
1904+
<a href="#1904" id="1904">1904</a>
1905+
<a href="#1905" id="1905">1905</a>
1906+
<a href="#1906" id="1906">1906</a>
1907+
<a href="#1907" id="1907">1907</a>
1908+
<a href="#1908" id="1908">1908</a>
1909+
<a href="#1909" id="1909">1909</a>
1910+
<a href="#1910" id="1910">1910</a>
1911+
<a href="#1911" id="1911">1911</a>
1912+
<a href="#1912" id="1912">1912</a>
1913+
<a href="#1913" id="1913">1913</a>
1914+
<a href="#1914" id="1914">1914</a>
1915+
<a href="#1915" id="1915">1915</a>
1916+
<a href="#1916" id="1916">1916</a>
1917+
<a href="#1917" id="1917">1917</a>
1918+
<a href="#1918" id="1918">1918</a>
18931919
</pre><pre class="rust"><code><span class="attr">#![allow(clippy::missing_safety_doc)]
18941920
#![allow(clippy::extra_unused_lifetimes)]
18951921

@@ -3596,6 +3622,11 @@
35963622
}
35973623

35983624
copy_attributes(source, dest, <span class="kw-2">&amp;</span>options.attributes)<span class="question-mark">?</span>;
3625+
<span class="kw">if </span>options.parents &amp;&amp; should_preserve_attribute(options) {
3626+
<span class="kw">for </span>(x, y) <span class="kw">in </span>aligned_ancestors(source, dest) {
3627+
copy_attributes(x, y, <span class="kw-2">&amp;</span>options.attributes)<span class="question-mark">?</span>;
3628+
}
3629+
}
35993630

36003631
<span class="kw">if let </span><span class="prelude-val">Some</span>(progress_bar) = progress_bar {
36013632
progress_bar.inc(fs::metadata(source)<span class="question-mark">?</span>.len());
@@ -3645,6 +3676,27 @@
36453676
<span class="prelude-val">Ok</span>(())
36463677
}
36473678

3679+
<span class="kw">fn </span>should_preserve_attribute(options: <span class="kw-2">&amp;</span>Options) -&gt; bool {
3680+
<span class="kw">let </span>checks = [
3681+
<span class="kw-2">&amp;</span>options.attributes.mode,
3682+
<span class="kw-2">&amp;</span>options.attributes.timestamps,
3683+
<span class="kw-2">&amp;</span>options.attributes.links,
3684+
<span class="kw-2">&amp;</span>options.attributes.context,
3685+
<span class="kw-2">&amp;</span>options.attributes.xattr,
3686+
];
3687+
3688+
<span class="attr">#[cfg(unix)]
3689+
</span><span class="kw">let </span>checks = [
3690+
checks.as_slice(),
3691+
[<span class="kw-2">&amp;</span>options.attributes.ownership].as_slice(),
3692+
]
3693+
.concat();
3694+
3695+
checks
3696+
.iter()
3697+
.any(|attr| <span class="macro">matches!</span>(attr, Preserve::Yes { .. }))
3698+
}
3699+
36483700
<span class="comment">// &quot;Copies&quot; a FIFO by creating a new one. This workaround is because Rust&#39;s
36493701
// built-in fs::copy does not handle FIFOs (see rust-lang/rust/issues/79390).
36503702
</span><span class="attr">#[cfg(unix)]

dev/src/uu_ls/ls.rs.html

+26-2
Original file line numberDiff line numberDiff line change
@@ -3117,6 +3117,18 @@
31173117
<a href="#3117" id="3117">3117</a>
31183118
<a href="#3118" id="3118">3118</a>
31193119
<a href="#3119" id="3119">3119</a>
3120+
<a href="#3120" id="3120">3120</a>
3121+
<a href="#3121" id="3121">3121</a>
3122+
<a href="#3122" id="3122">3122</a>
3123+
<a href="#3123" id="3123">3123</a>
3124+
<a href="#3124" id="3124">3124</a>
3125+
<a href="#3125" id="3125">3125</a>
3126+
<a href="#3126" id="3126">3126</a>
3127+
<a href="#3127" id="3127">3127</a>
3128+
<a href="#3128" id="3128">3128</a>
3129+
<a href="#3129" id="3129">3129</a>
3130+
<a href="#3130" id="3130">3130</a>
3131+
<a href="#3131" id="3131">3131</a>
31203132
</pre><pre class="rust"><code><span class="comment">// This file is part of the uutils coreutils package.
31213133
//
31223134
// (c) Jeremiah Peschka &lt;jeremiah.peschka@gmail.com&gt;
@@ -3160,7 +3172,13 @@
31603172
target_os = <span class="string">&quot;linux&quot;</span>,
31613173
target_os = <span class="string">&quot;macos&quot;</span>,
31623174
target_os = <span class="string">&quot;android&quot;</span>,
3163-
target_os = <span class="string">&quot;ios&quot;
3175+
target_os = <span class="string">&quot;ios&quot;</span>,
3176+
target_os = <span class="string">&quot;freebsd&quot;</span>,
3177+
target_os = <span class="string">&quot;dragonfly&quot;</span>,
3178+
target_os = <span class="string">&quot;netbsd&quot;</span>,
3179+
target_os = <span class="string">&quot;openbsd&quot;</span>,
3180+
target_os = <span class="string">&quot;illumos&quot;</span>,
3181+
target_os = <span class="string">&quot;solaris&quot;
31643182
</span>))]
31653183
</span><span class="kw">use </span>uucore::libc::{dev_t, major, minor};
31663184
<span class="attr">#[cfg(unix)]
@@ -5835,7 +5853,13 @@
58355853
target_os = <span class="string">&quot;linux&quot;</span>,
58365854
target_os = <span class="string">&quot;macos&quot;</span>,
58375855
target_os = <span class="string">&quot;android&quot;</span>,
5838-
target_os = <span class="string">&quot;ios&quot;
5856+
target_os = <span class="string">&quot;ios&quot;</span>,
5857+
target_os = <span class="string">&quot;freebsd&quot;</span>,
5858+
target_os = <span class="string">&quot;dragonfly&quot;</span>,
5859+
target_os = <span class="string">&quot;netbsd&quot;</span>,
5860+
target_os = <span class="string">&quot;openbsd&quot;</span>,
5861+
target_os = <span class="string">&quot;illumos&quot;</span>,
5862+
target_os = <span class="string">&quot;solaris&quot;
58395863
</span>))]
58405864
</span>{
58415865
<span class="kw">let </span>ft = metadata.file_type();

dev/uu_cksum/fn.uu_app.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `uu_app` fn in crate `uu_cksum`."><title>uu_app in uu_cksum - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-c4dbdcde0fbd8430.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-db279b6232be9c13.css"><link rel="stylesheet" disabled href="../static.files/dark-cf923f49f397b216.css"><link rel="stylesheet" disabled href="../static.files/ayu-be46fdc453a55015.css"><script src="../static.files/storage-3891ce972e3a2bf8.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-98a684e84ae5b08b.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../uu_cksum/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../uu_cksum/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In uu_cksum</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">uu_cksum</a>::<wbr><a class="fn" href="#">uu_app</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/uu_cksum/cksum.rs.html#235-268">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn uu_app() -&gt; Command</code></pre></section></div></main><div id="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="uu_cksum" data-themes="" data-resource-suffix="" data-rustdoc-version="1.69.0 (84c898d65 2023-04-16)" data-search-js="search-8a59a8356673ec1f.js" data-settings-js="settings-f0c5c39777a9a2f6.js" data-settings-css="settings-0bcba95ff279c1db.css" ></div></body></html>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `uu_app` fn in crate `uu_cksum`."><title>uu_app in uu_cksum - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-c4dbdcde0fbd8430.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-db279b6232be9c13.css"><link rel="stylesheet" disabled href="../static.files/dark-cf923f49f397b216.css"><link rel="stylesheet" disabled href="../static.files/ayu-be46fdc453a55015.css"><script src="../static.files/storage-3891ce972e3a2bf8.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-98a684e84ae5b08b.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../uu_cksum/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../uu_cksum/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In uu_cksum</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">uu_cksum</a>::<wbr><a class="fn" href="#">uu_app</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/uu_cksum/cksum.rs.html#241-274">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn uu_app() -&gt; Command</code></pre></section></div></main><div id="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="uu_cksum" data-themes="" data-resource-suffix="" data-rustdoc-version="1.69.0 (84c898d65 2023-04-16)" data-search-js="search-8a59a8356673ec1f.js" data-settings-js="settings-f0c5c39777a9a2f6.js" data-settings-css="settings-0bcba95ff279c1db.css" ></div></body></html>

0 commit comments

Comments
 (0)