<FileSystem> Data Interface

Provides script language access to objects of this type.

Class HierarchyType » FileSystem

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32CreateDirectoryRecurseCreates a directory, including creating any sub-directories as needed.
int32FindFileExtensionSearches a root directory for files with the specified file extension. For example: Find all files "D:\\MyFolder" with the ".glsl" extension.
int32FindFileExtensionsSearches a root directory for files with the specified file extension. For example: Find all files "D:\\MyFolder" with the ".glsl" and ".png" extensions.
int32FindFilesPopulates a <StrList> object with all the files in a directory (including sub-directories).
uint64GetAvailableInBytesReturns the available bytes in the file system. This is a representation of how many bytes you could write at present.
uint64GetCapacityInBytesReturns the total capacity in bytes in the file system. This should not be used to determine whether or not enough capacity exists for a current write operation.
uint64GetFileSizeInBytesReturns the size in bytes of a file in the file system.
uint64GetFreeInBytesReturns the free bytes in the file system. This is not necessarily a representation of how many bytes you could write to the file system.
stringLastWriteTimeReturns a human-readable string containing information about the last time the file was written.
uint64LastWriteTimeInSecondsReturns the last time the file was written as the number of seconds since January 1st, 1970.