ObjFW  Diff

Differences From Artifact [a344bb821f]:

To Artifact [f1881fc452]:


38
39
40
41
42
43
44
45

46
47
48
49
50

51
52
53
54

55
56

57
58
59
60
61
62
63
38
39
40
41
42
43
44

45
46
47
48
49

50
51
52
53

54
55

56
57
58
59
60
61
62
63







-
+




-
+



-
+

-
+







 *
 * @brief A class which represents an entry of a tar archive.
 */
@interface OFTarArchiveEntry: OFStream
{
	OFStream *_stream;
	bool _atEndOfStream;
	OFString *_name;
	OFString *_fileName;
	uint32_t _mode;
	uint64_t _size, _toRead;
	OFDate *_modificationDate;
	of_tar_archive_entry_type_t _type;
	OFString *_targetName;
	OFString *_targetFileName;
}

/*!
 * The name of the entry.
 * The file name of the entry.
 */
@property (readonly, copy) OFString *name;
@property (readonly, copy) OFString *fileName;

/*!
 * The mode of the entry.
 */
@property (readonly) uint32_t mode;

/*!
74
75
76
77
78
79
80
81

82
83

84
85
86
74
75
76
77
78
79
80

81
82

83
84
85
86







-
+

-
+



 * The type of the archive entry.
 *
 * See @ref of_tar_archive_entry_type_t.
 */
@property (readonly) of_tar_archive_entry_type_t type;

/*!
 * The name of the target (for a hard link or symbolic link).
 * The file name of the target (for a hard link or symbolic link).
 */
@property (readonly, copy) OFString *targetName;
@property (readonly, copy) OFString *targetFileName;
@end

OF_ASSUME_NONNULL_END