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>
|
||||
<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 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>
|
||||
<dd>If encoding is configured to be set by msg, then this optional property can set the encoding.</dt>
|
||||
</dl>
|
||||
@ -38,6 +42,13 @@
|
||||
|
||||
<script type="text/html" data-help-name="file in">
|
||||
<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>
|
||||
<dl class="message-properties">
|
||||
<dt>payload <span class="property-type">string | buffer</span></dt>
|
||||
|
Loading…
Reference in New Issue
Block a user