Wave
  • 👋Introduction
  • 🌊Getting Started
  • đŸ’ģFunctions
    • 🎮Console
    • 🌎Environment
    • 📂File System
    • đŸĒHooking
    • đŸ–ąī¸Input
    • 💡Miscellaneous
    • đŸ“ŗNetwork
    • đŸĒžReflection
    • đŸ•šī¸Script
    • 📊Table
    • đŸ“ļSignal
  • 📚Libraries
    • 👨‍🎤Actors
    • đŸ—ƒī¸Cache
    • 👾Crypt
    • 🐞Debug
    • đŸ–ī¸Drawing
    • đŸ–Ĩī¸ImGui
    • 📎WebSocket
  • âœī¸Changelogs
  • 📃Credits
Powered by GitBook
On this page
  • Append File
  • Delete File
  • Delete Folder
  • Get Custom Asset
  • Is File
  • Is Folder
  • List Files
  • Load File
  • Make Folder
  • Read File
  • Write File
  1. Functions

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.


Delete Folder

<void> delfolder(<string> path)
  • Deletes the folder located at path.


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

<bool> isfile(<string> path)
  • Returns true if path is a file.


Is Folder

<bool> isfolder(<string> path)
  • Returns true if path is a folder.


List Files

<table> listfiles(<string> folder)
  • Returns a table of all files in folder.


Load File

<function> loadfile(<string> path)
  • Loads the contents of the file located at path as a Lua function and returns it.


Make Folder

<void> makefolder(<string> path)
  • Creates a new folder at path.


Read File

<string> readfile(<string> path)
  • Returns the contents of the file located at path.


Write File

<void> writefile(<string> path, <string> content)
  • Writes content to the supplied path.


PreviousEnvironmentNextHooking

Last updated 5 months ago

đŸ’ģ
📂