MCPcopy Create free account
hub / github.com/Auburn/FastNoise2 / SyncFileSystem

Method SyncFileSystem

tools/NodeEditor/NodeEditorApp.cpp:151–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void NodeEditorApp::SyncFileSystem()
152{
153#ifdef __EMSCRIPTEN__
154 // Don't forget to sync to make sure you store it to IndexedDB
155 EM_ASM(
156 FS.syncfs( false, function( err ) {
157 if (err) {
158 console.warn("Error saving:", err);
159 }
160 } );
161 );
162#endif
163}
164
165void NodeEditorApp::drawEvent()
166{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected