ObjFW
Classes | Typedefs | Variables
OFFileManager.h File Reference
#import "OFObject.h"
#import "OFDictionary.h"
Include dependency graph for OFFileManager.h:
This graph shows which files directly or indirectly include this file:

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 OFConstantStringof_file_attribute_key_t
 A key for a file attribute in the file attributes dictionary. More...
 
typedef OFConstantStringof_file_type_t
 The type of a file. More...
 
typedef OFDictionaryof_file_attributes_t
 A dictionary mapping keys of type of_file_attribute_key_t to their attribute values.
 
typedef OFMutableDictionaryof_mutable_file_attributes_t
 A mutable dictionary mapping keys of type of_file_attribute_key_t to their attribute values.
 

Variables

const of_file_attribute_key_t of_file_attribute_key_size
 The size of the file as an OFNumber. More...
 
const of_file_attribute_key_t of_file_attribute_key_type
 The type of the file. More...
 
const of_file_attribute_key_t of_file_attribute_key_posix_permissions
 The POSIX permissions of the file as an OFNumber. More...
 
const of_file_attribute_key_t of_file_attribute_key_posix_uid
 The POSIX UID of the file as an OFNumber. More...
 
const of_file_attribute_key_t of_file_attribute_key_posix_gid
 The POSIX GID of the file as an OFNumber. More...
 
const of_file_attribute_key_t of_file_attribute_key_owner
 The owner of the file as an OFString. More...
 
const of_file_attribute_key_t of_file_attribute_key_group
 The group of the file as an OFString. More...
 
const of_file_attribute_key_t of_file_attribute_key_last_access_date
 The last access date of the file as an OFDate. More...
 
const of_file_attribute_key_t of_file_attribute_key_modification_date
 The last modification date of the file as an OFDate. More...
 
const of_file_attribute_key_t of_file_attribute_key_status_change_date
 The last status change date of the file as an OFDate. More...
 
const of_file_attribute_key_t of_file_attribute_key_creation_date
 The creation date of the file as an OFDate. More...
 
const of_file_attribute_key_t of_file_attribute_key_symbolic_link_destination
 The destination of a symbolic link as an OFString. More...
 
const of_file_type_t of_file_type_regular
 A regular file.
 
const of_file_type_t of_file_type_directory
 A directory.
 
const of_file_type_t of_file_type_symbolic_link
 A symbolic link.
 
const of_file_type_t of_file_type_fifo
 A FIFO.
 
const of_file_type_t of_file_type_character_special
 A character special file.
 
const of_file_type_t of_file_type_block_special
 A block special file.
 
const of_file_type_t of_file_type_socket
 A socket.
 

Typedef Documentation

◆ of_file_attribute_key_t

◆ of_file_type_t

The type of a file.

Possibles values for file URLs are:

Other URL schemes might not have all types and might have types not listed.

Variable Documentation

◆ of_file_attribute_key_creation_date

const of_file_attribute_key_t of_file_attribute_key_creation_date
extern

The creation date of the file as an OFDate.

For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileCreationDate.

◆ of_file_attribute_key_group

const of_file_attribute_key_t of_file_attribute_key_group
extern

The group of the file as an OFString.

For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileGroup.

◆ of_file_attribute_key_last_access_date

const of_file_attribute_key_t of_file_attribute_key_last_access_date
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.

◆ of_file_attribute_key_modification_date

const of_file_attribute_key_t of_file_attribute_key_modification_date
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.

◆ of_file_attribute_key_owner

const of_file_attribute_key_t of_file_attribute_key_owner
extern

The owner of the file as an OFString.

For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileOwner.

◆ of_file_attribute_key_posix_gid

const of_file_attribute_key_t of_file_attribute_key_posix_gid
extern

The POSIX GID of the file as an OFNumber.

For convenience, a category on OFDictionary is provided to access this via OFDictionary::filePOSIXGID.

◆ of_file_attribute_key_posix_permissions

const of_file_attribute_key_t of_file_attribute_key_posix_permissions
extern

The POSIX permissions of the file as an OFNumber.

For convenience, a category on OFDictionary is provided to access this via OFDictionary::filePOSIXPermissions.

◆ of_file_attribute_key_posix_uid

const of_file_attribute_key_t of_file_attribute_key_posix_uid
extern

The POSIX UID of the file as an OFNumber.

For convenience, a category on OFDictionary is provided to access this via OFDictionary::filePOSIXUID.

◆ of_file_attribute_key_size

const of_file_attribute_key_t of_file_attribute_key_size
extern

The size of the file as an OFNumber.

For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileSize.

◆ of_file_attribute_key_status_change_date

const of_file_attribute_key_t of_file_attribute_key_status_change_date
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.

◆ of_file_attribute_key_symbolic_link_destination

const of_file_attribute_key_t of_file_attribute_key_symbolic_link_destination
extern

The destination of a symbolic link as an OFString.

For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileSymbolicLinkDestination.

◆ of_file_attribute_key_type

const of_file_attribute_key_t of_file_attribute_key_type
extern

The type of the file.

The corresponding value is of type of_file_type_t.

For convenience, a category on OFDictionary is provided to access this via OFDictionary::fileType.