Modules/FileSystem/createRAMDisk

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

This function creates a FileSystem translator which is located entirely inside of MTA application memory, also known as RAM.

Syntax

translator fsnamespace.createRAMDisk( bool caseSensitive )

Arguments

  • caseSensitive: if true then all namespaces are compared case sensitively in path operations, otherwise strict character equality comparison is performed

Returns

This function returns a new FileSystem translator that can be used to store (temporary) files in. If the creation of the ramdisk has failed, then false is returned.

Example

-- TODO

FileSystem Namespace Functions

FileSystem Translator Functions