This commit is contained in:
sylvestre
2023-05-16 02:37:46 +00:00
parent fb7e4cc970
commit 0584942744
2 changed files with 12 additions and 2 deletions
+11 -1
View File
@@ -3129,6 +3129,11 @@
<a href="#3129" id="3129">3129</a>
<a href="#3130" id="3130">3130</a>
<a href="#3131" id="3131">3131</a>
<a href="#3132" id="3132">3132</a>
<a href="#3133" id="3133">3133</a>
<a href="#3134" id="3134">3134</a>
<a href="#3135" id="3135">3135</a>
<a href="#3136" id="3136">3136</a>
</pre><pre class="rust"><code><span class="comment">// This file is part of the uutils coreutils package.
//
// (c) Jeremiah Peschka &lt;jeremiah.peschka@gmail.com&gt;
@@ -5128,7 +5133,12 @@
require_literal_separator: <span class="bool-val">false</span>,
case_sensitive: <span class="bool-val">true</span>,
};
<span class="kw">let </span>file_name = entry.file_name().into_string().unwrap();
<span class="kw">let </span>file_name = entry.file_name();
<span class="comment">// If the decoding fails, still show an incorrect rendering
</span><span class="kw">let </span>file_name = <span class="kw">match </span>file_name.to_str() {
<span class="prelude-val">Some</span>(s) =&gt; s.to_string(),
<span class="prelude-val">None </span>=&gt; file_name.to_string_lossy().into_owned(),
};
!config
.ignore_patterns
.iter()
+1 -1
View File
File diff suppressed because one or more lines are too long