Skip to content

Commit

Permalink
deploy: c220d50
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Jul 23, 2023
1 parent 9597fe1 commit 1eabcb3
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="4054654540-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="4054654540-1">)</span><span class="w">
</span><span class="n">has_many</span><span class="p" data-group-id="4054654540-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="4054654540-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="4335659062-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="4335659062-1">)</span><span class="w">
</span><span class="n">has_many</span><span class="p" data-group-id="4335659062-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="4335659062-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="9245073603-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="9245073603-1">)</span><span class="w">
</span><span class="p" data-group-id="9245073603-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="9245073603-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="9245073603-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="9245073603-4">[</span><span class="p" data-group-id="9245073603-4">]</span><span class="p" data-group-id="9245073603-3">)</span><span class="w">
</span><span class="p" data-group-id="9245073603-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="9245073603-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="9245073603-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="9245073603-7">[</span><span class="p" data-group-id="9245073603-7">]</span><span class="p" data-group-id="9245073603-6">)</span><span class="w">
</span><span class="p" data-group-id="9245073603-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="9245073603-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="5595182554-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="5595182554-1">)</span><span class="w">
</span><span class="p" data-group-id="5595182554-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="5595182554-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="5595182554-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="5595182554-4">[</span><span class="p" data-group-id="5595182554-4">]</span><span class="p" data-group-id="5595182554-3">)</span><span class="w">
</span><span class="p" data-group-id="5595182554-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="5595182554-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="5595182554-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="5595182554-7">[</span><span class="p" data-group-id="5595182554-7">]</span><span class="p" data-group-id="5595182554-6">)</span><span class="w">
</span><span class="p" data-group-id="5595182554-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="5595182554-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 1eabcb3

Please sign in to comment.