summaryrefslogtreecommitdiff
path: root/docs/modules/_database_.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/modules/_database_.html')
-rw-r--r--docs/modules/_database_.html26
1 files changed, 18 insertions, 8 deletions
diff --git a/docs/modules/_database_.html b/docs/modules/_database_.html
index 7c81c91..5b0ed26 100644
--- a/docs/modules/_database_.html
+++ b/docs/modules/_database_.html
@@ -107,7 +107,7 @@
<div class="tsd-signature tsd-kind-icon">read<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">__promisify__</span><span class="tsd-signature-symbol"> =&nbsp;promisify(readFile)</span></div>
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L14">database.ts:14</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L21">database.ts:21</a></li>
</ul>
</aside>
</section>
@@ -117,7 +117,7 @@
<div class="tsd-signature tsd-kind-icon">write<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">__promisify__</span><span class="tsd-signature-symbol"> =&nbsp;promisify(writeFile)</span></div>
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L13">database.ts:13</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L20">database.ts:20</a></li>
</ul>
</aside>
</section>
@@ -134,9 +134,14 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L11">database.ts:11</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L18">database.ts:18</a></li>
</ul>
</aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Identify if a path is a root node</p>
+ </div>
+ </div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
@@ -157,9 +162,14 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L10">database.ts:10</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L13">database.ts:13</a></li>
</ul>
</aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Split path using &quot;/&quot; as a delimiter</p>
+ </div>
+ </div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
@@ -179,7 +189,7 @@
<div class="tsd-signature tsd-kind-icon">DEFAULT_<wbr>CTX<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L16">database.ts:16</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L23">database.ts:23</a></li>
</ul>
</aside>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
@@ -188,7 +198,7 @@
<div class="tsd-signature tsd-kind-icon">cache<wbr>Path<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> =&nbsp;&#x60;${__dirname}/db.json&#x60;</span></div>
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L18">database.ts:18</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L25">database.ts:25</a></li>
</ul>
</aside>
</section>
@@ -198,7 +208,7 @@
<div class="tsd-signature tsd-kind-icon">logger<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">log</span><span class="tsd-signature-symbol"> =&nbsp;console.log</span></div>
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L17">database.ts:17</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L24">database.ts:24</a></li>
</ul>
</aside>
</section>
@@ -208,7 +218,7 @@
<div class="tsd-signature tsd-kind-icon">max<wbr>DbSizeMB<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;6</span></div>
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L19">database.ts:19</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L26">database.ts:26</a></li>
</ul>
</aside>
</section>