#include <GFile.h>
Public Member Functions | |
GVolume * | GetRootVolume () |
Gets the root volume of the system. | |
GDirectory * | GetDir () |
Returns a dynamically allocated GDirectory to iterate a directory in the file system. | |
bool | DeleteFile (char *FileName, bool ToTrash=true) |
Delete file. | |
bool | DeleteFiles (GArray< char * > &Files, GArray< int > *Status=0, bool ToTrash=true) |
Delete files. | |
bool | CreateDirectory (char *PathName) |
Create a directory. | |
bool | RemoveDirectory (char *PathName, bool Recurse=false) |
Remove's a directory. | |
bool | MoveFile (char *OldName, char *NewName) |
Moves a file to a new location. Only works on the same device. | |
Static Public Member Functions | |
static GFileSystem * | GetInstance () |
Return the current instance of the file system. The shorthand for this is "FileDev". | |
Friends | |
class | GFile |
|
Delete files.
|
|
Remove's a directory.
|