Provides script language access to objects of this type.
Class Hierarchy | Type » FileSystem |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | CreateDirectoryRecurse | Creates a directory, including creating any sub-directories as needed. |
int32 | FindFileExtension | Searches a root directory for files with the specified file extension. For example: Find all files "D:\\MyFolder" with the ".glsl" extension. |
int32 | FindFileExtensions | Searches a root directory for files with the specified file extension. For example: Find all files "D:\\MyFolder" with the ".glsl" and ".png" extensions. |
int32 | FindFiles | Populates a <StrList> object with all the files in a directory (including sub-directories). |
uint64 | GetAvailableInBytes | Returns the available bytes in the file system. This is a representation of how many bytes you could write at present. |
uint64 | GetCapacityInBytes | Returns 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. |
uint64 | GetFileSizeInBytes | Returns the size in bytes of a file in the file system. |
uint64 | GetFreeInBytes | Returns the free bytes in the file system. This is not necessarily a representation of how many bytes you could write to the file system. |
string | LastWriteTime | Returns a human-readable string containing information about the last time the file was written. |
uint64 | LastWriteTimeInSeconds | Returns the last time the file was written as the number of seconds since January 1st, 1970. |