mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
restore "input" help info for msg.filename
This commit is contained in:
parent
856d2ab266
commit
4fffa2d0ba
@ -19,6 +19,10 @@
|
|||||||
Alternatively, it can delete the file.</p>
|
Alternatively, it can delete the file.</p>
|
||||||
<h3>Inputs</h3>
|
<h3>Inputs</h3>
|
||||||
<dl class="message-properties">
|
<dl class="message-properties">
|
||||||
|
<dt class="optional">filename <span class="property-type">string</span></dt>
|
||||||
|
<dd>The name of the file to be updated can be provided in the node configuration, or as a message property.
|
||||||
|
By default it will use <code>msg.filename</code> but this can be customised in the node.
|
||||||
|
</dd>
|
||||||
<dt class="optional">encoding <span class="property-type">string</span></dt>
|
<dt class="optional">encoding <span class="property-type">string</span></dt>
|
||||||
<dd>If encoding is configured to be set by msg, then this optional property can set the encoding.</dt>
|
<dd>If encoding is configured to be set by msg, then this optional property can set the encoding.</dt>
|
||||||
</dl>
|
</dl>
|
||||||
@ -38,6 +42,13 @@
|
|||||||
|
|
||||||
<script type="text/html" data-help-name="file in">
|
<script type="text/html" data-help-name="file in">
|
||||||
<p>Reads the contents of a file as either a string or binary buffer.</p>
|
<p>Reads the contents of a file as either a string or binary buffer.</p>
|
||||||
|
<h3>Inputs</h3>
|
||||||
|
<dl class="message-properties">
|
||||||
|
<dt class="optional">filename <span class="property-type">string</span></dt>
|
||||||
|
<dd>The name of the file to be read can be provided in the node configuration, or as a message property.
|
||||||
|
By default it will use <code>msg.filename</code> but this can be customised in the node.
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
<h3>Outputs</h3>
|
<h3>Outputs</h3>
|
||||||
<dl class="message-properties">
|
<dl class="message-properties">
|
||||||
<dt>payload <span class="property-type">string | buffer</span></dt>
|
<dt>payload <span class="property-type">string | buffer</span></dt>
|
||||||
|
Loading…
Reference in New Issue
Block a user