20a4673f98
* First draft of storage APIs * bumped pxt-core * using fixed instances to seprate temp from permanent * send console to storage * sim support * missing sim stubs * adding storage blocks * more sim support * remove storage from default package * fix rendering of ms * render raw ms * slize at better place * duplicate bundled dir * refactor limit * simplify limit logic
26 lines
1.8 KiB
JSON
26 lines
1.8 KiB
JSON
{
|
|
"storage.Storage.append": "Append string data to a new or existing file.",
|
|
"storage.Storage.appendBuffer": "Append a buffer to a new or existing file.",
|
|
"storage.Storage.appendCSV": "Append a row of CSV data",
|
|
"storage.Storage.appendCSV|param|data": "the data to append",
|
|
"storage.Storage.appendCSV|param|filename": "the file name to append data, eg: \"data.txt\"",
|
|
"storage.Storage.appendLine": "Appends a new line of data in the file",
|
|
"storage.Storage.appendLine|param|data": "the data to append",
|
|
"storage.Storage.appendLine|param|filename": "the file name to append data, eg: \"data.txt\"",
|
|
"storage.Storage.append|param|data": "the data to append",
|
|
"storage.Storage.append|param|filename": "the file name to append data, eg: \"data.txt\"",
|
|
"storage.Storage.exists": "Tests if a file exists",
|
|
"storage.Storage.exists|param|filename": "the file name to append data, eg: \"data.txt\"",
|
|
"storage.Storage.limit": "Resizing the size of a file to stay under the limit",
|
|
"storage.Storage.limit|param|filename": "name of the file to drop",
|
|
"storage.Storage.limit|param|size": "maximum length",
|
|
"storage.Storage.overwrite": "Overwrite file with string data.",
|
|
"storage.Storage.overwriteWithBuffer": "Overwrite file with a buffer.",
|
|
"storage.Storage.overwrite|param|data": "the data to append",
|
|
"storage.Storage.overwrite|param|filename": "the file name to append data, eg: \"data.txt\"",
|
|
"storage.Storage.read": "Read contents of file as a string.",
|
|
"storage.Storage.readAsBuffer": "Read contents of file as a buffer.",
|
|
"storage.Storage.remove": "Delete a file, or do nothing if it doesn't exist.",
|
|
"storage.Storage.size": "Return the size of the file, or -1 if it doesn't exists.",
|
|
"storage.temporary": "Temporary storage in memory, deleted when the device restarts."
|
|
} |