50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
-
+
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
*
* @brief A class which represents an entry of a tar archive.
*/
@interface OFTarArchiveEntry: OFObject <OFArchiveEntry, OFCopying,
OFMutableCopying>
{
OFString *_fileName;
OFNumber *_mode, *_UID, *_GID;
OFNumber *_POSIXPermissions, *_ownerAccountID, *_groupOwnerAccountID;
unsigned long long _compressedSize, _uncompressedSize;
OFDate *_modificationDate;
OFTarArchiveEntryType _type;
OFString *_Nullable _targetFileName;
OFString *_Nullable _owner, *_Nullable _group;
OFString *_Nullable _ownerAccountName;
OFString *_Nullable _groupOwnerAccountName;
unsigned long _deviceMajor, _deviceMinor;
OF_RESERVE_IVARS(OFTarArchiveEntry, 4)
}
/**
* @brief The mode of the entry.
*/
@property (readonly, retain, nonatomic) OFNumber *mode;
/**
* @brief The UID of the owner.
*/
@property (readonly, retain, nonatomic) OFNumber *UID;
/**
* @brief The GID of the group.
*/
@property (readonly, retain, nonatomic) OFNumber *GID;
/**
* @brief The date of the last modification of the file.
*/
@property (readonly, retain, nonatomic) OFDate *modificationDate;
/**
* @brief The type of the archive entry.
*
* See @ref OFTarArchiveEntryType.
*/
@property (readonly, nonatomic) OFTarArchiveEntryType type;
/**
* @brief The file name of the target (for a hard link or symbolic link).
*/
@property OF_NULLABLE_PROPERTY (readonly, copy, nonatomic)
OFString *targetFileName;
/**
* @brief The owner of the file.
*/
@property OF_NULLABLE_PROPERTY (readonly, copy, nonatomic) OFString *owner;
/**
* @brief The group of the file.
*/
@property OF_NULLABLE_PROPERTY (readonly, copy, nonatomic) OFString *group;
/**
* @brief The device major (if the file is a device).
*/
@property (readonly, nonatomic) unsigned long deviceMajor;
/**
* @brief The device major (if the file is a device).
|