๐File System
These are all of the functions revolving the file system that Wave supports.
Append File
<void> appendfile(<string> path, <string> content)Appends content to the file contents at path.
Delete File
<void> delfile(<string> path)Deletes the file located at
path.
Alternative:
deletefile
Delete Folder
<void> delfolder(<string> path)Deletes the folder located at
path.
Alternative:
deletefolder
Get Custom Asset
<string> getcustomasset(<string> path)Provides a content string suitable for use with GUI elements, sounds, meshes, and other assets to reference an item in the workspace folder.
Is File
Returns
trueifpathis a file.
Is Folder
Returns
trueifpathis a folder.
List Files
Returns a table of all files in
folder.
Load File
Loads the contents of the file located at
pathas a Lua function and returns it.
Make Folder
Creates a new folder at
path.
Read File
Returns the contents of the file located at
path.
Write Custom Asset
Creates a custom asset file that can be loaded into Roblox, writing the given
datainto the specifiedfilename.
Write File
Writes
contentto the suppliedpath.
Last updated