You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2id="find-the-latest-version-satisfying-given-range"><aclass="header" href="#find-the-latest-version-satisfying-given-range">Find the latest version satisfying given range</a></h2>
<p>Transform a CSV file containing a color name and a hex color into one with a
364
+
color name and an rgb color. Utilizes the <ahref="https://docs.rs/csv/">csv</a> crate to read and write the
365
+
csv file, and <ahref="https://docs.rs/serde/">serde</a> to deserialize and serialize the rows to and from bytes.</p>
366
+
<p>See <ahref="https://docs.rs/csv/*/csv/struct.Reader.html#method.deserialize">csv::Reader::deserialize</a>, <ahref="https://docs.rs/serde/*/serde/trait.Deserialize.html">serde::Deserialize</a>, and <ahref="https://doc.rust-lang.org/std/str/trait.FromStr.html">std::str::FromStr</a></p>
Find JSON files modified within the last day in the current directory.
252
-
Using [`follow_links`] ensures symbolic links are followed like they were
253
-
normal directories and files.
254
-
255
-
```rust,edition2021
256
-
use walkdir::WalkDir;
245
+
}</code></pre></pre>
246
+
<h2id="recursively-find-all-files-with-given-predicate"><aclass="header" href="#recursively-find-all-files-with-given-predicate">Recursively find all files with given predicate</a></h2>
<p>Find JSON files modified within the last day in the current directory.
249
+
Using <ahref="https://docs.rs/walkdir/*/walkdir/struct.WalkDir.html#method.follow_links"><code>follow_links</code></a> ensures symbolic links are followed like they were
<h2id="find-the-latest-version-satisfying-given-range"><aclass="header" href="#find-the-latest-version-satisfying-given-range">Find the latest version satisfying given range</a></h2>
<p>Transform a CSV file containing a color name and a hex color into one with a
3242
+
color name and an rgb color. Utilizes the <ahref="https://docs.rs/csv/">csv</a> crate to read and write the
3243
+
csv file, and <ahref="https://docs.rs/serde/">serde</a> to deserialize and serialize the rows to and from bytes.</p>
3244
+
<p>See <ahref="https://docs.rs/csv/*/csv/struct.Reader.html#method.deserialize">csv::Reader::deserialize</a>, <ahref="https://docs.rs/serde/*/serde/trait.Deserialize.html">serde::Deserialize</a>, and <ahref="https://doc.rust-lang.org/std/str/trait.FromStr.html">std::str::FromStr</a></p>
Find JSON files modified within the last day in the current directory.
3768
-
Using [`follow_links`] ensures symbolic links are followed like they were
3769
-
normal directories and files.
3770
-
3771
-
```rust,edition2021
3772
-
use walkdir::WalkDir;
3754
+
}</code></pre></pre>
3755
+
<h2id="recursively-find-all-files-with-given-predicate"><aclass="header" href="#recursively-find-all-files-with-given-predicate">Recursively find all files with given predicate</a></h2>
<p>Find JSON files modified within the last day in the current directory.
3758
+
Using <ahref="https://docs.rs/walkdir/*/walkdir/struct.WalkDir.html#method.follow_links"><code>follow_links</code></a> ensures symbolic links are followed like they were
0 commit comments