|
Public Types |
enum | FileType { TYPE_FILE,
TYPE_DIR,
TYPE_NONE
} |
Public Member Functions |
| RageFileManager (CString argv0) |
| ~RageFileManager () |
void | MountInitialFilesystems () |
void | GetDirListing (CString sPath, CStringArray &AddTo, bool bOnlyDirs, bool bReturnPathToo) |
bool | Remove (CString sPath) |
void | CreateDir (CString sDir) |
FileType | GetFileType (CString sPath) |
bool | IsAFile (const CString &sPath) |
bool | IsADirectory (const CString &sPath) |
bool | DoesFileExist (const CString &sPath) |
int | GetFileSizeInBytes (CString sPath) |
int | GetFileHash (CString sPath) |
void | Mount (CString Type, CString RealPath, CString MountPoint) |
void | Unmount (CString Type, CString Root, CString MountPoint) |
bool | IsMounted (CString MountPoint) |
bool | MountpointIsReady (CString MountPoint) |
void | GetLoadedDrivers (vector< DriverLocation > &Mounts) |
void | FlushDirCache (CString sPath) |
RageFileBasic * | Open (CString sPath, int mode, int &err) |
void | Close (RageFileBasic *obj) |
RageFileBasic * | CopyFileObj (const RageFileBasic *cpy) |
RageFileDriver * | GetFileDriver (CString sMountpoint) |
void | ReleaseFileDriver (RageFileDriver *pDriver) |
Static Public Member Functions |
void | Remount (CString sMountpoint, CString sPath) |
Private Member Functions |
RageFileBasic * | OpenForWriting (CString sPath, int mode, int &err) |