A DirectoryListing iterates over the contents of a directory. To obtain a DirectoryListing handle, call OpenDirectory().
A File object can be obtained by calling OpenFile(). File objects should be closed with delete or Close(). Note that, "delete file" does not actually delete the file, it just closes the handle.
Builds a path relative to the SourceMod folder. This should be used instead of directly referencing addons/sourcemod, in case users change the name of their folder layout.
Creates a directory.
Deletes a file.
Checks if a directory exists.
Checks if a file exists.
Get current position in the file.
Sets the file position indicator.
Get the file size in bytes.
Flushes a file's buffered output; any buffered output is immediately written to the file.
Returns a file timestamp as a unix timestamp.
Tests if the end of file has been reached.
Same as LogToFile(), except uses an open file Handle. The file must be opened in text appending mode.
Same as LogToFileEx(), except uses an open file Handle. The file must be opened in text appending mode.
Opens a directory/folder for contents enumeration.
Opens or creates a file, returning a File handle on success. File handles should be closed with delete or CloseHandle().
Reads the current directory entry as a local filename, then moves to the next file.
Reads binary data from a file.
Reads a single binary cell from a file.
Reads a line from a text file.
Reads a UTF8 or ANSI string from a file.
Removes a directory.
Renames a file.
Changes a file or directories permissions.
Writes binary data to a file.
Writes a single binary cell to a file.
Writes a line of text to a text file. A newline is automatically appended.
Writes a binary string to a file.