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. More... | |
typedef OFConstantString * | OFFileAttributeType |
The type of a file. More... | |
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. | |
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.
const OFFileAttributeKey OFFileCreationDate |
The creation date of the file as an OFDate.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileCreationDate.
const OFFileAttributeKey OFFileExtendedAttributesNames |
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.
const OFFileAttributeKey OFFileGroupOwnerAccountID |
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.
const OFFileAttributeKey OFFileGroupOwnerAccountName |
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.
const OFFileAttributeKey OFFileLastAccessDate |
The last access date of the file as an OFDate.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileLastAccessDate.
const OFFileAttributeKey OFFileModificationDate |
The last modification date of the file as an OFDate.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileModificationDate.
const OFFileAttributeKey OFFileOwnerAccountID |
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.
const OFFileAttributeKey OFFileOwnerAccountName |
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.
const OFFileAttributeKey OFFilePOSIXPermissions |
The POSIX permissions of the file as an OFNumber.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::filePOSIXPermissions.
const OFFileAttributeKey OFFileSize |
The size of the file as an OFNumber.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileSize.
const OFFileAttributeKey OFFileStatusChangeDate |
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.
const OFFileAttributeKey OFFileSymbolicLinkDestination |
The destination of a symbolic link as an OFString.
For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileSymbolicLinkDestination.
const OFFileAttributeKey OFFileType |
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.
const OFFileAttributeType OFFileTypeUnknown |
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.