Skip to content

moonbase.storage functions

Protovision edited this page Jan 8, 2016 · 1 revision
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.)

Clone this wiki locally