Skip to content

Commit

Permalink
deploy: 5f11c71
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav1dde committed Aug 26, 2024
1 parent 4d10b73 commit 402738e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion relay_pattern/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!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="A glob like pattern used throught Relay and its APIs."><title>relay_pattern - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="relay_pattern" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.1 (3f5fd8dd4 2024-08-06)" data-channel="1.80.1" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><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 mod crate"><!--[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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../relay_pattern/index.html">relay_pattern</a><span class="version">24.7.1</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <a class="mod" href="#">relay_pattern</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/relay_pattern/lib.rs.html#1-1338">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A glob like pattern used throught Relay and its APIs.</p>
<!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="A glob like pattern used throught Relay and its APIs."><title>relay_pattern - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="relay_pattern" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.1 (3f5fd8dd4 2024-08-06)" data-channel="1.80.1" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><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 mod crate"><!--[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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../relay_pattern/index.html">relay_pattern</a><span class="version">24.7.1</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <a class="mod" href="#">relay_pattern</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/relay_pattern/lib.rs.html#1-1349">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A glob like pattern used throught Relay and its APIs.</p>
<h2 id="behaviour"><a class="doc-anchor" href="#behaviour">§</a>Behaviour</h2>
<p>A pattern is similar to a glob but without support for brace expansions and without any support
for filesystem specific behaviour like platform dependent separators and file extension
Expand Down
22 changes: 22 additions & 0 deletions src/relay_pattern/lib.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,17 @@
<a href="#1336" id="1336">1336</a>
<a href="#1337" id="1337">1337</a>
<a href="#1338" id="1338">1338</a>
<a href="#1339" id="1339">1339</a>
<a href="#1340" id="1340">1340</a>
<a href="#1341" id="1341">1341</a>
<a href="#1342" id="1342">1342</a>
<a href="#1343" id="1343">1343</a>
<a href="#1344" id="1344">1344</a>
<a href="#1345" id="1345">1345</a>
<a href="#1346" id="1346">1346</a>
<a href="#1347" id="1347">1347</a>
<a href="#1348" id="1348">1348</a>
<a href="#1349" id="1349">1349</a>
</pre></div><pre class="rust"><code><span class="doccomment">//! A glob like pattern used throught Relay and its APIs.
//!
//! # Behaviour
Expand Down Expand Up @@ -2398,6 +2409,10 @@
<span class="macro">assert_pattern!</span>(<span class="string">"???????????x???????????"</span>, <span class="string">"??______???x?????_?????"</span>);
<span class="macro">assert_pattern!</span>(<span class="string">"???????????x???????????"</span>, NOT <span class="string">"?______???x?????_?????"</span>);
<span class="macro">assert_pattern!</span>(<span class="string">"???????????x???????????"</span>, NOT <span class="string">"??______???_?????_?????"</span>);
<span class="macro">assert_pattern!</span>(
<span class="string">"??????????????????????????????????????????????????"</span>,
<span class="string">"?????????????????????????????????????????????????!"
</span>);

<span class="comment">// No special slash handling
</span><span class="macro">assert_pattern!</span>(<span class="string">"?"</span>, <span class="string">"/"</span>);
Expand Down Expand Up @@ -2587,6 +2602,9 @@

<span class="attr">#[test]
</span><span class="kw">fn </span>test_alternates() {
<span class="macro">assert_pattern!</span>(<span class="string">"{foo}"</span>, <span class="string">"foo"</span>);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo}"</span>, NOT <span class="string">"fOo"</span>);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo}"</span>, NOT <span class="string">"bar"</span>);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo,bar}"</span>, <span class="string">"foo"</span>);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo,bar}"</span>, <span class="string">"bar"</span>);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo,bar}"</span>, NOT <span class="string">"Foo"</span>);
Expand Down Expand Up @@ -2633,11 +2651,15 @@

<span class="attr">#[test]
</span><span class="kw">fn </span>test_alternates_case_insensitive() {
<span class="macro">assert_pattern!</span>(<span class="string">"{foo}"</span>, <span class="string">"foo"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo}"</span>, <span class="string">"fOo"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo}"</span>, NOT <span class="string">"bar"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo,bar}"</span>, <span class="string">"foo"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo,bar}"</span>, <span class="string">"bar"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo,bar}"</span>, <span class="string">"Foo"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo,bar}"</span>, <span class="string">"fOo"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo,bar}"</span>, <span class="string">"BAR"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{foo,bar}"</span>, NOT <span class="string">"bao"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{f[o0-9]o,b[a]r}"</span>, <span class="string">"foo"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{f[o0-9]o,b[a]r}"</span>, <span class="string">"fOo"</span>, i);
<span class="macro">assert_pattern!</span>(<span class="string">"{f[o0-9]o,b[a]r}"</span>, <span class="string">"f1o"</span>, i);
Expand Down

0 comments on commit 402738e

Please sign in to comment.