mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
Deploying to gh-pages from @ harttle/liquidjs@aebeae9e1b 🚀
This commit is contained in:
@@ -110,16 +110,48 @@
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<p><strong>Returns:</strong> <em><a href="fs_loader_.loader.html">Loader</a></em></p>
|
||||
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="Private-options" class="article-heading"><a href="#Private-options" class="headerlink" title="Private options"></a><code>Private</code> options<a class="article-anchor" href="#Private-options" aria-hidden="true"></a></h3><p>• <strong>options</strong>: <em><a href="../interfaces/fs_loader_.loaderoptions.html">LoaderOptions</a></em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L19">fs/loader.ts:19</a></em></p>
|
||||
<hr>
|
||||
<h3 id="Private-rRelativePath" class="article-heading"><a href="#Private-rRelativePath" class="headerlink" title="Private rRelativePath"></a><code>Private</code> rRelativePath<a class="article-anchor" href="#Private-rRelativePath" aria-hidden="true"></a></h3><p>• <strong>rRelativePath</strong>: <em>RegExp</em></p>
|
||||
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="Private-contains" class="article-heading"><a href="#Private-contains" class="headerlink" title="Private contains"></a><code>Private</code> contains<a class="article-anchor" href="#Private-contains" aria-hidden="true"></a></h3><p>• <strong>contains</strong>: <em>function</em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L21">fs/loader.ts:21</a></em></p>
|
||||
<h4 id="Type-declaration" class="article-heading"><a href="#Type-declaration" class="headerlink" title="Type declaration:"></a>Type declaration:<a class="article-anchor" href="#Type-declaration" aria-hidden="true"></a></h4><p>▸ (<code>root</code>: string, <code>file</code>: string): <em>boolean</em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td><code>root</code></td>
|
||||
<td>string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>file</code></td>
|
||||
<td>string</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<hr>
|
||||
<h3 id="Private-sep" class="article-heading"><a href="#Private-sep" class="headerlink" title="Private sep"></a><code>Private</code> sep<a class="article-anchor" href="#Private-sep" aria-hidden="true"></a></h3><p>• <strong>sep</strong>: <em>string</em></p>
|
||||
<h3 id="Private-options" class="article-heading"><a href="#Private-options" class="headerlink" title="Private options"></a><code>Private</code> options<a class="article-anchor" href="#Private-options" aria-hidden="true"></a></h3><p>• <strong>options</strong>: <em><a href="../interfaces/fs_loader_.loaderoptions.html">LoaderOptions</a></em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L20">fs/loader.ts:20</a></em></p>
|
||||
<hr>
|
||||
<h3 id="shouldLoadRelative" class="article-heading"><a href="#shouldLoadRelative" class="headerlink" title="shouldLoadRelative"></a>shouldLoadRelative<a class="article-anchor" href="#shouldLoadRelative" aria-hidden="true"></a></h3><p>• <strong>shouldLoadRelative</strong>: <em>function</em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L19">fs/loader.ts:19</a></em></p>
|
||||
<h4 id="Type-declaration-1" class="article-heading"><a href="#Type-declaration-1" class="headerlink" title="Type declaration:"></a>Type declaration:<a class="article-anchor" href="#Type-declaration-1" aria-hidden="true"></a></h4><p>▸ (<code>referencedFile</code>: string): <em>boolean</em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td><code>referencedFile</code></td>
|
||||
<td>string</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="candidates" class="article-heading"><a href="#candidates" class="headerlink" title="candidates"></a>candidates<a class="article-anchor" href="#candidates" aria-hidden="true"></a></h3><p>▸ <strong>candidates</strong>(<code>file</code>: string, <code>dirs</code>: string[], <code>currentFile?</code>: undefined | string, <code>enforceRoot?</code>: undefined | false | true): <em>IterableIterator‹string›</em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L42">fs/loader.ts:42</a></em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L45">fs/loader.ts:45</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -148,7 +180,7 @@
|
||||
<p><strong>Returns:</strong> <em>IterableIterator‹string›</em></p>
|
||||
<hr>
|
||||
<h3 id="Private-dirname" class="article-heading"><a href="#Private-dirname" class="headerlink" title="Private dirname"></a><code>Private</code> dirname<a class="article-anchor" href="#Private-dirname" aria-hidden="true"></a></h3><p>▸ <strong>dirname</strong>(<code>path</code>: string): <em>string</em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L71">fs/loader.ts:71</a></em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L69">fs/loader.ts:69</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -165,7 +197,7 @@
|
||||
<p><strong>Returns:</strong> <em>string</em></p>
|
||||
<hr>
|
||||
<h3 id="lookup" class="article-heading"><a href="#lookup" class="headerlink" title="lookup"></a>lookup<a class="article-anchor" href="#lookup" aria-hidden="true"></a></h3><p>▸ <strong>lookup</strong>(<code>file</code>: string, <code>type</code>: <a href="../enums/fs_loader_.lookuptype.html">LookupType</a>, <code>sync?</code>: undefined | false | true, <code>currentFile?</code>: undefined | string): <em>IterableIterator‹string | Promise‹boolean››</em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L29">fs/loader.ts:29</a></em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L36">fs/loader.ts:36</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -194,7 +226,7 @@
|
||||
<p><strong>Returns:</strong> <em>IterableIterator‹string | Promise‹boolean››</em></p>
|
||||
<hr>
|
||||
<h3 id="Private-lookupError" class="article-heading"><a href="#Private-lookupError" class="headerlink" title="Private lookupError"></a><code>Private</code> lookupError<a class="article-anchor" href="#Private-lookupError" aria-hidden="true"></a></h3><p>▸ <strong>lookupError</strong>(<code>file</code>: string, <code>roots</code>: string[]): <em>any</em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L77">fs/loader.ts:77</a></em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L75">fs/loader.ts:75</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -213,48 +245,10 @@
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<p><strong>Returns:</strong> <em>any</em></p>
|
||||
<hr>
|
||||
<h3 id="shouldLoadRelative" class="article-heading"><a href="#shouldLoadRelative" class="headerlink" title="shouldLoadRelative"></a>shouldLoadRelative<a class="article-anchor" href="#shouldLoadRelative" aria-hidden="true"></a></h3><p>▸ <strong>shouldLoadRelative</strong>(<code>referencedFile</code>: string): <em>boolean</em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L38">fs/loader.ts:38</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td><code>referencedFile</code></td>
|
||||
<td>string</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<p><strong>Returns:</strong> <em>boolean</em></p>
|
||||
<hr>
|
||||
<h3 id="Private-withinDir" class="article-heading"><a href="#Private-withinDir" class="headerlink" title="Private withinDir"></a><code>Private</code> withinDir<a class="article-anchor" href="#Private-withinDir" aria-hidden="true"></a></h3><p>▸ <strong>withinDir</strong>(<code>file</code>: string, <code>dir</code>: string): <em>boolean</em></p>
|
||||
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L66">fs/loader.ts:66</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td><code>file</code></td>
|
||||
<td>string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>dir</code></td>
|
||||
<td>string</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<p><strong>Returns:</strong> <em>boolean</em></p>
|
||||
|
||||
</div>
|
||||
<footer class="article-footer">
|
||||
<time class="article-footer-updated" datetime="2021-10-16T14:40:23.802Z" itemprop="dateModified">Last updated: 2021-10-16</time>
|
||||
<time class="article-footer-updated" datetime="2021-10-27T16:00:26.538Z" itemprop="dateModified">Last updated: 2021-10-27</time>
|
||||
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
|
||||
</footer>
|
||||
</div>
|
||||
@@ -263,7 +257,7 @@
|
||||
<div id="article-toc-inner">
|
||||
<div id="article-toc-inner-list">
|
||||
<strong class="sidebar-title">Contents</strong>
|
||||
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Constructors"><span class="toc-text">Constructors</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#constructor-NaN"><span class="toc-text">constructor</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-options"><span class="toc-text">Private options</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-rRelativePath"><span class="toc-text">Private rRelativePath</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-sep"><span class="toc-text">Private sep</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#candidates"><span class="toc-text">candidates</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-dirname"><span class="toc-text">Private dirname</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#lookup"><span class="toc-text">lookup</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-lookupError"><span class="toc-text">Private lookupError</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#shouldLoadRelative"><span class="toc-text">shouldLoadRelative</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-withinDir"><span class="toc-text">Private withinDir</span></a></li></ol></li></ol>
|
||||
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Constructors"><span class="toc-text">Constructors</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#constructor-NaN"><span class="toc-text">constructor</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-contains"><span class="toc-text">Private contains</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Type-declaration"><span class="toc-text">Type declaration:</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-options"><span class="toc-text">Private options</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#shouldLoadRelative"><span class="toc-text">shouldLoadRelative</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Type-declaration-1"><span class="toc-text">Type declaration:</span></a></li></ol></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#candidates"><span class="toc-text">candidates</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-dirname"><span class="toc-text">Private dirname</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#lookup"><span class="toc-text">lookup</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-lookupError"><span class="toc-text">Private lookupError</span></a></li></ol></li></ol>
|
||||
</div>
|
||||
<a href="#" id="article-toc-top">Back to Top</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user