cheerpOSAddStringFile
Write a file into the virtual filesystem
Used to write files into the /str/
filesystem. If the file already exists, it will be overwritten.
Parameters
- path (
string
) - The path to the file to overwrite. Must begin with/str/
. - data (
string
orUint8Array
) - File contents, as text or binary data.
Returns
cheerpOSAddStringFile
does not return a value.