summaryrefslogtreecommitdiff
path: root/docs/modules/_database_.html
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-01-19 22:01:41 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-01-19 22:01:41 -0800
commit84aa80496ea4d7f54306cca38674d9b7cacaae0a (patch)
tree8479b99bcd333acb2d6b043b578349ced55346a1 /docs/modules/_database_.html
parentd6111be9eed62024bde0f588850bb1f40538114b (diff)
Update docs for release 1.2.81.2.8
Diffstat (limited to 'docs/modules/_database_.html')
-rw-r--r--docs/modules/_database_.html41
1 files changed, 34 insertions, 7 deletions
diff --git a/docs/modules/_database_.html b/docs/modules/_database_.html
index 6252a8e..7c81c91 100644
--- a/docs/modules/_database_.html
+++ b/docs/modules/_database_.html
@@ -86,6 +86,7 @@
<section class="tsd-index-section tsd-is-not-exported">
<h3>Functions</h3>
<ul class="tsd-index-list">
+ <li class="tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"><a href="_database_.html#isrootnode" class="tsd-kind-icon">is<wbr>Root<wbr>Node</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"><a href="_database_.html#splitpath" class="tsd-kind-icon">split<wbr>Path</a></li>
</ul>
</section>
@@ -106,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/f5c35a0/src/database.ts#L13">database.ts:13</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L14">database.ts:14</a></li>
</ul>
</aside>
</section>
@@ -116,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/f5c35a0/src/database.ts#L12">database.ts:12</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L13">database.ts:13</a></li>
</ul>
</aside>
</section>
@@ -124,6 +125,29 @@
<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
<h2>Functions</h2>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
+ <a name="isrootnode" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagConst">Const</span> is<wbr>Root<wbr>Node</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
+ <li class="tsd-signature tsd-kind-icon">is<wbr>Root<wbr>Node<span class="tsd-signature-symbol">(</span>path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
+ </ul>
+ <ul class="tsd-descriptions">
+ <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>
+ </ul>
+ </aside>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>path: <span class="tsd-signature-type">string</span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a name="splitpath" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> split<wbr>Path</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
@@ -133,7 +157,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L10">database.ts:10</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L10">database.ts:10</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -155,7 +179,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/f5c35a0/src/database.ts#L15">database.ts:15</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L16">database.ts:16</a></li>
</ul>
</aside>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
@@ -164,7 +188,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/f5c35a0/src/database.ts#L17">database.ts:17</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L18">database.ts:18</a></li>
</ul>
</aside>
</section>
@@ -174,7 +198,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/f5c35a0/src/database.ts#L16">database.ts:16</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L17">database.ts:17</a></li>
</ul>
</aside>
</section>
@@ -184,7 +208,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/f5c35a0/src/database.ts#L18">database.ts:18</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L19">database.ts:19</a></li>
</ul>
</aside>
</section>
@@ -229,6 +253,9 @@
<a href="_database_.html#write" class="tsd-kind-icon">write</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
+ <a href="_database_.html#isrootnode" class="tsd-kind-icon">is<wbr>Root<wbr>Node</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_database_.html#splitpath" class="tsd-kind-icon">split<wbr>Path</a>
</li>
<li class=" tsd-kind-object-literal tsd-parent-kind-external-module">