From e066a154a16510b0f952600ab0e63ea4d2c5de34 Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Fri, 20 Jul 2018 14:59:52 +0900 Subject: [PATCH] update info text of file node (English & Japanese) --- nodes/core/locales/ja/storage/50-file.html | 2 ++ nodes/core/storage/50-file.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/nodes/core/locales/ja/storage/50-file.html b/nodes/core/locales/ja/storage/50-file.html index 2e9bb839b..8bd5cdbaf 100644 --- a/nodes/core/locales/ja/storage/50-file.html +++ b/nodes/core/locales/ja/storage/50-file.html @@ -21,6 +21,8 @@
filename 文字列
対象ファイル名をノードに設定していない場合、このプロパティでファイルを指定できます
+

出力

+

書き込みの完了時、入力メッセージを出力端子に送出します。

詳細

入力メッセージのペイロードをファイルの最後に追記します。改行(\n)を各データの最後に追加することもできます。

msg.filenameを使う場合、書き込みを行う毎にファイルをクローズします。より良い性能を得るためにはファイル名をノードに設定してください。

diff --git a/nodes/core/storage/50-file.html b/nodes/core/storage/50-file.html index eabf56a76..00a698cee 100644 --- a/nodes/core/storage/50-file.html +++ b/nodes/core/storage/50-file.html @@ -37,6 +37,8 @@
filename string
If not configured in the node, this optional property sets the name of the file to be updated.
+

Output

+

On completion of write, input message is sent to output port.

Details

Each message payload will be added to the end of the file, optionally appending a newline (\n) character between each one.