forked from mirrors/jj
Deployed 3ebad15
to prerelease with MkDocs 1.6.0 and mike 2.1.1
This commit is contained in:
parent
ba335f91f1
commit
8d0166b8df
2 changed files with 39 additions and 1 deletions
|
@ -1735,6 +1735,44 @@ It will <em>not</em> match <code>foobar</code> or <code>bar/foo</code>.</p>
|
|||
<p><code>working_copies()</code>: The working copy commits across all the workspaces.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<details class="examples">
|
||||
<summary>Examples</summary>
|
||||
<p>Given this history:
|
||||
<div class="highlight"><pre><span></span><code>E
|
||||
|
|
||||
| D
|
||||
|/|
|
||||
| o C
|
||||
| |
|
||||
o | B
|
||||
|/
|
||||
o A
|
||||
|
|
||||
o root()
|
||||
</code></pre></div></p>
|
||||
<p><strong>function</strong> <code>reachable()</code></p>
|
||||
<p><code>reachable(E, A..)</code> ⇒ <code>{E,D,C,B}</code></p>
|
||||
<p><code>reachable(D, A..)</code> ⇒ <code>{E,D,C,B}</code></p>
|
||||
<p><code>reachable(C, A..)</code> ⇒ <code>{E,D,C,B}</code></p>
|
||||
<p><code>reachable(B, A..)</code> ⇒ <code>{E,D,C,B}</code></p>
|
||||
<p><code>reachable(A, A..)</code> ⇒ <code>{}</code> (empty set)</p>
|
||||
<p><strong>function</strong> <code>connected()</code></p>
|
||||
<p><code>connected(E|A)</code> ⇒ <code>{E,B,A}</code></p>
|
||||
<p><code>connected(D|A)</code> ⇒ <code>{D,C,B,A}</code></p>
|
||||
<p><code>connected(A)</code> ⇒ <code>{A}</code></p>
|
||||
<p><strong>function</strong> <code>heads()</code></p>
|
||||
<p><code>heads(E|D)</code> ⇒ <code>{E,D}</code></p>
|
||||
<p><code>heads(E|C)</code> ⇒ <code>{E,C}</code></p>
|
||||
<p><code>heads(E|B)</code> ⇒ <code>{E}</code></p>
|
||||
<p><code>heads(E|A)</code> ⇒ <code>{E}</code></p>
|
||||
<p><code>heads(A)</code> ⇒ <code>{A}</code></p>
|
||||
<p><strong>function</strong> <code>roots()</code></p>
|
||||
<p><code>roots(E|D)</code> ⇒ <code>{E,D}</code></p>
|
||||
<p><code>roots(E|C)</code> ⇒ <code>{E,C}</code></p>
|
||||
<p><code>roots(E|B)</code> ⇒ <code>{B}</code></p>
|
||||
<p><code>roots(E|A)</code> ⇒ <code>{A}</code></p>
|
||||
<p><code>roots(A)</code> ⇒ <code>{A}</code></p>
|
||||
</details>
|
||||
<h2 id="string-patterns">String patterns<a class="headerlink" href="#string-patterns" title="Permanent link">¶</a></h2>
|
||||
<p>Functions that perform string matching support the following pattern syntax:</p>
|
||||
<ul>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue