|
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. | |
Enumerations | |
| enum | OFFileAmigaProtectionMask { OFFileAmigaDeleteProtected = 0x0001, OFFileAmigaExecuteProtected = 0x0002, OFFileAmigaWriteProtected = 0x0004, OFFileAmigaReadProtected = 0x0008, OFFileAmigaArchived = 0x0010, OFFileAmigaPure = 0x0020, OFFileAmigaScript = 0x0040, OFFileAmigaHold = 0x0080, OFFileAmigaGroupDeletable = 0x0100, OFFileAmigaGroupExecutable = 0x0200, OFFileAmigaGroupWritable = 0x0400, OFFileAmigaGroupReadable = 0x0800, OFFileAmigaOtherDeletable = 0x1000, OFFileAmigaOtherExecutable = 0x2000, OFFileAmigaOtherWritable = 0x4000, OFFileAmigaOtherReadable = 0x8000 } |
| Amiga file protection. This is a bit mask and the values are ORed. More... | |
| enum | OFFileMSDOSAttributesMask { OFFileMSDOSAttributeReadOnly = 0x01, OFFileMSDOSAttributeHidden = 0x02, OFFileMSDOSAttributeSystem = 0x04, OFFileMSDOSAttributeVolumeLabel = 0x08, OFFileMSDOSAttributeDirectory = 0x10, OFFileMSDOSAttributeArchive = 0x20 } |
| MS-DOS attributes. This is a bit mask and the values are ORed. More... | |
| 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.
Amiga file protection. This is a bit mask and the values are ORed.
MS-DOS attributes. This is a bit mask and the values are ORed.
| const OFFileAttributeKey OFFileAmigaProtection |
The Amiga file protection as an OFNumber.
See OFFileAmigaProtectionMask for possible values.
| 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 OFFileMSDOSAttributes |
The MS-DOS attributes as an OFNumber.
See OFFileMSDOSAttributesMask for possible values.
| 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.
1.8.14