We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
const char*
1 parent 476c428 commit 7ffdaabCopy full SHA for 7ffdaab
system/lib/wasmfs/js_api.cpp
@@ -69,7 +69,7 @@ void* _wasmfs_read_file(const char* path) {
69
70
// Writes to a file, possibly creating it, and returns the number of bytes
71
// written successfully. If the file already exists, appends to it.
72
-int _wasmfs_write_file(const char* pathname, char* data, size_t data_size) {
+int _wasmfs_write_file(const char* pathname, const char* data, size_t data_size) {
73
auto parsedParent = path::parseParent(pathname);
74
if (parsedParent.getError()) {
75
return 0;
0 commit comments