File System - lnx00/Lmaobox-Library GitHub Wiki

lnxLib.Utils.FileSystem

Utilities to read, write and modify files.

Functions

  • .Read(path) Reads the given file and returns it's content (or nil if invalid).
  • .Write(path, content) Writes the given content to the file and returns whether it was successful.
  • .Delete(path) Deletes the given file.
  • .Exists(path) Returns whether the given file exists.
  • .GetWorkDir() Returns the working directory of lnxLib (used for configs etc.)