moonbase.storage functions - Protovision/moonbase GitHub Wiki

moonbase.storage.open( path, mode )

Opens a file path that is relative to the location where moonbase can write personal files (Preferences and save games, etc.). mode is a string representing how to open the file according to the standard C fopen function.

moonbase.storage.remove( path )

Removes a file path that is relative to the location where moonbase can write personal files (Preferences and save games, etc.)

moonbase.storage.rename( oldpath, newpath )

Renames the file oldpath to newpath. Both files are relative to the location where moonbase can write personal files (Preferences and save games, etc.)