# fs

# fs.get_project_dir

Retrieves the directory path of the Requiem Engine project.

fs.get_project_dir()

  • return: A string representing the absolute path to the Requiem Engine project directory.

# fs.get_project_sub_dir

Retrieves a subdirectory path within the Requiem Engine directory structure.

fs.get_project_sub_dir(string dir)

  • dir: The name of the subdirectory to retrieve.
  • return: A string representing the absolute path to the specified subdirectory.

# fs.get_script_dir

Retrieves the path to the directory containing the currently executed Lua script.

fs.get_script_dir()

  • return: A string representing the absolute path to the directory of the current Lua script.

# fs.dir_empty

fs.dir_empty(string path)

# fs.dir_exist

fs.dir_exist(string path)

# fs.file_empty

fs.file_empty(string path)

# fs.file_exist

fs.file_exist(string path)

# fs.dir_check

fs.dir_check(string path)

# fs.dir_copy

fs.dir_copy(string from, string to)

# fs.dir_create

fs.dir_create(string path)

# fs.dir_remove

fs.dir_remove(string path)

# fs.file_check

fs.file_check(string path)

# fs.file_copy

fs.file_copy(string from, string to)

# fs.file_create

fs.file_create(string path)

# fs.file_remove

fs.file_remove(string path)