[io.file.save]
io.file.save is a slot in the io namespace, in Hyperlambda, the language of Magic Cloud. Saves a text file to the server.
Also known as: save-file.
- Value (
file-path), required: File path to save
Arguments
Required arguments come first, then the optional ones in the order they are declared.
| Argument | Type | Required | Description |
|---|---|---|---|
| any node name | string | yes | Child node yielding the text content to save. |
Guide: How to use [io.file.save]
JSON declaration
This is the complete declaration of io.file.save, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "io.file.save",
"description": "Saves a text file to the server",
"signature": {
"input": {
"kind": "file-path",
"description": "File path to save",
"required": true,
"mode": "ValueOrExpression"
},
"children": {
"*": {
"type": "string",
"kind": "text-file-content,text",
"description": "Child node yielding the text content to save",
"required": true,
"mode": "ExecutableLambda",
"cardinality": "ExactlyOne"
}
}
}
}
← io.file.patch |
all io.* slots |
io.file.save.binary → |