22OF_ASSUME_NONNULL_BEGIN
39#if OF_GCC_VERSION >= 405
40# pragma GCC diagnostic push
41# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
44 OF_DEPRECATED(ObjFW, 1, 5,
"Use -[OFMutableArchiveEntry fileType] instead");
45#if OF_GCC_VERSION >= 405
46# pragma GCC diagnostic pop
54@property OF_NULLABLE_PROPERTY (readwrite,
copy, nonatomic)
60@property OF_NULLABLE_PROPERTY (readwrite,
retain, nonatomic)
66@property OF_NULLABLE_PROPERTY (readwrite,
copy, nonatomic)
75+ (instancetype)entryWithFileName: (
OFString *)fileName;
84- (instancetype)initWithFileName: (
OFString *)fileName;
OFArchiveEntryFileType OFTarArchiveEntryType
The type of the archive entry.
Definition OFTarArchiveEntry.h:41
A class for storing arbitrary data in an array.
Definition OFData.h:46
An abstract class for storing objects in a dictionary.
Definition OFDictionary.h:84
A class which represents a mutable entry of a tar archive.
Definition OFMutableTarArchiveEntry.h:31
OFString * amigaComment
The Amiga comment of the file.
Definition OFMutableTarArchiveEntry.h:68
OFDictionary * extendedHeader
The PAX extended header of the Tar archive entry.
Definition OFMutableTarArchiveEntry.h:56
OFNumber * amigaProtection
The Amiga Protection of the file (see OFFileAmigaProtectionMask).
Definition OFMutableTarArchiveEntry.h:62
void makeImmutable()
Converts the OFMutableTarArchiveEntry to an immutable OFTarArchiveEntry.
Definition OFMutableTarArchiveEntry.m:206
Provides a way to store a number in an object.
Definition OFNumber.h:47
id copy()
Returns the class.
Definition OFObject.m:1326
A class for handling strings.
Definition OFString.h:143
A class which represents an entry of a tar archive.
Definition OFTarArchiveEntry.h:134
A class which represents a mutable entry in an archive.
Definition OFMutableArchiveEntry.h:29
instancetype retain()
Increases the retain count.