Groups | |
GE_FCOPY | |
GE_FILE_ATTRIBUTE | |
GE_FKILL | |
Functions | |
Bool | GeFExist (const Filename &name, Bool isdir=false) |
Bool | GeSearchFile (const Filename &directory, const Filename &name, Filename *found) |
Bool | GeFKill (const Filename &name, Int32 flags=0) |
Bool | GeFCopyFile (const Filename &source, const Filename &dest, Int32 flags) |
Bool | GeFRename (const Filename &source, const Filename &dest) |
Bool | GeFMove (const Filename &source, const Filename &dest) |
Bool | GeFCreateDir (const Filename &name) |
Bool | GeFCreateDirRec (const Filename &name) |
Bool | GeFGetDiskFreeSpace (const Filename &vol, UInt64 &freecaller, UInt64 &total, UInt64 &freespace) |
UInt32 | GeFGetAttributes (const Filename &name) |
Bool | GeFSetAttributes (const Filename &name, UInt32 flags, UInt32 mask=(UInt32) - 1) |
Checks if a file or directory exists.
[in] | name | The name of the file or directory to check for. |
[in] | isdir | true if checking a directory. |
Recursively searches for a file in a given directory.
[in] | directory | The directory to search for the file. |
[in] | name | The name of the file to find. |
[out] | found | A pointer to a Filename to take the filename of the actual file found. The caller owns the pointed filename. |
Deletes a file or directory.
[in] | name | The name of the file or directory to delete. |
[in] | flags | The delete flags: GE_FKILL |
Copies a file.
[in] | source | The name of the file to copy. |
[in] | dest | The name of the file to create from the source file. |
[in] | flags | The copy flags: GE_FCOPY |
Renames a file.
[in] | source | The name of the file to rename. |
[in] | dest | The new name of the file. |
Moves a file.
[in] | source | The source path. |
[in] | dest | The destination path. |
Creates a directory.
[in] | name | The name of the directory to create. |
Creates a directory even if the directories in the path do not exist.
[in] | name | The name of the directory to create. |
Bool GeFGetDiskFreeSpace | ( | const Filename & | vol, |
UInt64 & | freecaller, | ||
UInt64 & | total, | ||
UInt64 & | freespace | ||
) |
Retrieves information about the amount of space that is available on a disk volume.
[in] | vol | The name of the disk volume. |
[out] | freecaller | Assigned the number of bytes on the volume available to the calling application. |
[out] | total | Assigned the total number of bytes on a disk. |
[out] | freespace | Assigned the number of bytes of free space on the volume. |
Gets the attributes of a file.
[in] | name | The file name. |
Sets the attributes for a file.
[in] | name | The file name. |
[in] | flags | The attribute flags: GE_FILE_ATTRIBUTE |
[in] | mask | An attribute mask to protect already set flags: GE_FILE_ATTRIBUTE |