Skip to content

Commit

Permalink
deploy: 000e31e
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Jul 23, 2023
1 parent 9eaaaa1 commit c258d4d
Show file tree
Hide file tree
Showing 67 changed files with 1,200 additions and 1,200 deletions.
4 changes: 2 additions & 2 deletions Bonfire.Boundaries.Acls.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ <h1>

<section id="moduledoc">
<p>ACLs represent fully populated access control rules that can be reused.
Can be reused to secure multiple objects, thus exists independently of any object.</p><p>The table doesn't have any fields of its own: </p><pre><code class="makeup elixir" translate="no"><span class="n">has_many</span><span class="p" data-group-id="1518829904-1">(</span><span class="ss">:grants</span><span class="p">,</span><span class="w"> </span><span class="nc">Grant</span><span class="p" data-group-id="1518829904-1">)</span><span class="w">
</span><span class="n">has_many</span><span class="p" data-group-id="1518829904-2">(</span><span class="ss">:controlled</span><span class="p">,</span><span class="w"> </span><span class="nc">Controlled</span><span class="p" data-group-id="1518829904-2">)</span></code></pre>
Can be reused to secure multiple objects, thus exists independently of any object.</p><p>The table doesn't have any fields of its own: </p><pre><code class="makeup elixir" translate="no"><span class="n">has_many</span><span class="p" data-group-id="4985890373-1">(</span><span class="ss">:grants</span><span class="p">,</span><span class="w"> </span><span class="nc">Grant</span><span class="p" data-group-id="4985890373-1">)</span><span class="w">
</span><span class="n">has_many</span><span class="p" data-group-id="4985890373-2">(</span><span class="ss">:controlled</span><span class="p">,</span><span class="w"> </span><span class="nc">Controlled</span><span class="p" data-group-id="4985890373-2">)</span></code></pre>
</section>


Expand Down
12 changes: 6 additions & 6 deletions Bonfire.Common.Errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,12 @@ <h1 class="signature" translate="no">format_mfa(module, fun, arity)</h1>
</a>
Examples
</h2>
<pre><code class="makeup elixir" translate="no"><span class="gp unselectable">iex&gt; </span><span class="nc">Exception</span><span class="o">.</span><span class="n">format_mfa</span><span class="p" data-group-id="7589900623-1">(</span><span class="nc">Foo</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="mi">1</span><span class="p" data-group-id="7589900623-1">)</span><span class="w">
</span><span class="p" data-group-id="7589900623-2">{</span><span class="nc">Foo</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Foo.bar/1&quot;</span><span class="p" data-group-id="7589900623-2">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="nc">Exception</span><span class="o">.</span><span class="n">format_mfa</span><span class="p" data-group-id="7589900623-3">(</span><span class="nc">Foo</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="7589900623-4">[</span><span class="p" data-group-id="7589900623-4">]</span><span class="p" data-group-id="7589900623-3">)</span><span class="w">
</span><span class="p" data-group-id="7589900623-5">{</span><span class="nc">Foo</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Foo.bar()&quot;</span><span class="p" data-group-id="7589900623-5">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="nc">Exception</span><span class="o">.</span><span class="n">format_mfa</span><span class="p" data-group-id="7589900623-6">(</span><span class="no">nil</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="7589900623-7">[</span><span class="p" data-group-id="7589900623-7">]</span><span class="p" data-group-id="7589900623-6">)</span><span class="w">
</span><span class="p" data-group-id="7589900623-8">{</span><span class="no">nil</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;nil.bar()&quot;</span><span class="p" data-group-id="7589900623-8">}</span></code></pre><p>Anonymous functions are reported as -func/arity-anonfn-count-,
<pre><code class="makeup elixir" translate="no"><span class="gp unselectable">iex&gt; </span><span class="nc">Exception</span><span class="o">.</span><span class="n">format_mfa</span><span class="p" data-group-id="1101358382-1">(</span><span class="nc">Foo</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="mi">1</span><span class="p" data-group-id="1101358382-1">)</span><span class="w">
</span><span class="p" data-group-id="1101358382-2">{</span><span class="nc">Foo</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Foo.bar/1&quot;</span><span class="p" data-group-id="1101358382-2">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="nc">Exception</span><span class="o">.</span><span class="n">format_mfa</span><span class="p" data-group-id="1101358382-3">(</span><span class="nc">Foo</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="1101358382-4">[</span><span class="p" data-group-id="1101358382-4">]</span><span class="p" data-group-id="1101358382-3">)</span><span class="w">
</span><span class="p" data-group-id="1101358382-5">{</span><span class="nc">Foo</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Foo.bar()&quot;</span><span class="p" data-group-id="1101358382-5">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="nc">Exception</span><span class="o">.</span><span class="n">format_mfa</span><span class="p" data-group-id="1101358382-6">(</span><span class="no">nil</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="1101358382-7">[</span><span class="p" data-group-id="1101358382-7">]</span><span class="p" data-group-id="1101358382-6">)</span><span class="w">
</span><span class="p" data-group-id="1101358382-8">{</span><span class="no">nil</span><span class="p">,</span><span class="w"> </span><span class="ss">:bar</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;nil.bar()&quot;</span><span class="p" data-group-id="1101358382-8">}</span></code></pre><p>Anonymous functions are reported as -func/arity-anonfn-count-,
where func is the name of the enclosing function. Convert to
&quot;anonymous fn in func/arity&quot;</p>
</section>
Expand Down
Loading

0 comments on commit c258d4d

Please sign in to comment.