ObjFW
|
Go to the source code of this file.
Classes | |
class | OFFileManager |
A class which provides management for files, e.g. reading contents of directories, deleting files, renaming files, etc. More... | |
Typedefs | |
typedef OFConstantString * | OFFileAttributeKey |
A key for a file attribute in the file attributes dictionary. | |
typedef OFConstantString * | OFFileAttributeType |
The type of a file. | |
typedef OFDictionary * | OFFileAttributes |
A dictionary mapping keys of type OFFileAttributeKey to their attribute values. | |
typedef OFMutableDictionary * | OFMutableFileAttributes |
A mutable dictionary mapping keys of type OFFileAttributeKey to their attribute values. | |
Variables | |
const OFFileAttributeKey | OFFileSize |
The size of the file as an OFNumber. | |
const OFFileAttributeKey | OFFileType |
The type of the file. | |
const OFFileAttributeKey | OFFilePOSIXPermissions |
The POSIX permissions of the file as an OFNumber. | |
const OFFileAttributeKey | OFFileOwnerAccountID |
The account ID of the owner of the file as an OFNumber. | |
const OFFileAttributeKey | OFFileGroupOwnerAccountID |
The account ID of the group owner of the file as an OFNumber. | |
const OFFileAttributeKey | OFFileOwnerAccountName |
The account name of the owner of the file as an OFString. | |
const OFFileAttributeKey | OFFileGroupOwnerAccountName |
The account name of the group owner of the file as an OFString. | |
const OFFileAttributeKey | OFFileLastAccessDate |
The last access date of the file as an OFDate. | |
const OFFileAttributeKey | OFFileModificationDate |
The last modification date of the file as an OFDate. | |
const OFFileAttributeKey | OFFileStatusChangeDate |
The last status change date of the file as an OFDate. | |
const OFFileAttributeKey | OFFileCreationDate |
The creation date of the file as an OFDate. | |
const OFFileAttributeKey | OFFileSymbolicLinkDestination |
The destination of a symbolic link as an OFString. | |
const OFFileAttributeKey | OFFileExtendedAttributesNames |
The names of the extended attributes as an OFArray of OFString. | |
const OFFileAttributeType | OFFileTypeRegular |
A regular file. | |
const OFFileAttributeType | OFFileTypeDirectory |
A directory. | |
const OFFileAttributeType | OFFileTypeSymbolicLink |
A symbolic link. | |
const OFFileAttributeType | OFFileTypeFIFO |
A FIFO. | |
const OFFileAttributeType | OFFileTypeCharacterSpecial |
A character special file. | |
const OFFileAttributeType | OFFileTypeBlockSpecial |
A block special file. | |
const OFFileAttributeType | OFFileTypeSocket |
A socket. | |
const OFFileAttributeType | OFFileTypeUnknown |
An unknown file type. | |
typedef OFConstantString* OFFileAttributeKey |
A key for a file attribute in the file attributes dictionary.
Possible keys for file IRIs are:
Other IRI schemes might not have all keys and might have keys not listed.
typedef OFConstantString* OFFileAttributeType |
The type of a file.
Possibles values for file IRIs are:
Other IRI schemes might not have all types and might have types not listed.
|
extern |
The creation date of the file as an OFDate.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileCreationDate.
|
extern |
The names of the extended attributes as an OFArray of OFString.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileExtendedAttributesNames.
|
extern |
The account ID of the group owner of the file as an OFNumber.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileGroupOwnerAccountID.
|
extern |
The account name of the group owner of the file as an OFString.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileGroupOwnerAccountName.
|
extern |
The last access date of the file as an OFDate.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileLastAccessDate.
|
extern |
The last modification date of the file as an OFDate.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileModificationDate.
|
extern |
The account ID of the owner of the file as an OFNumber.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileOwnerAccountID.
|
extern |
The account name of the owner of the file as an OFString.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileOwnerAccountName.
|
extern |
The POSIX permissions of the file as an OFNumber.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::filePOSIXPermissions.
|
extern |
The size of the file as an OFNumber.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileSize.
|
extern |
The last status change date of the file as an OFDate.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileStatusChangeDate.
|
extern |
The destination of a symbolic link as an OFString.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileSymbolicLinkDestination.
|
extern |
The type of the file.
The corresponding value is of type OFFileAttributeType.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileType.
|
extern |
An unknown file type.
This is different from not having an OFFileType at all in that it means that retrieving file types is supported, but the particular file type is unknown.