ObjFW
OFMutableTarArchiveEntry.h
1 /*
2  * Copyright (c) 2008-2021 Jonathan Schleifer <js@nil.im>
3  *
4  * All rights reserved.
5  *
6  * This file is part of ObjFW. It may be distributed under the terms of the
7  * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
8  * the packaging of this file.
9  *
10  * Alternatively, it may be distributed under the terms of the GNU General
11  * Public License, either version 2 or 3, which can be found in the file
12  * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
13  * file.
14  */
15 
16 #import "OFTarArchiveEntry.h"
17 
18 OF_ASSUME_NONNULL_BEGIN
19 
27 {
28  OF_RESERVE_IVARS(OFMutableTarArchiveEntry, 4)
29 }
30 
34 @property (readwrite, copy, nonatomic) OFString *fileName;
35 
39 @property (readwrite, nonatomic) unsigned long mode;
40 
44 @property (readwrite, nonatomic) unsigned long UID;
45 
49 @property (readwrite, nonatomic) unsigned long GID;
50 
54 @property (readwrite, nonatomic) unsigned long long size;
55 
59 @property (readwrite, retain, nonatomic) OFDate *modificationDate;
60 
66 @property (readwrite, nonatomic) of_tar_archive_entry_type_t type;
67 
71 @property OF_NULLABLE_PROPERTY (readwrite, copy, nonatomic)
72  OFString *targetFileName;
73 
77 @property OF_NULLABLE_PROPERTY (readwrite, copy, nonatomic) OFString *owner;
78 
82 @property OF_NULLABLE_PROPERTY (readwrite, copy, nonatomic) OFString *group;
83 
87 @property (readwrite, nonatomic) unsigned long deviceMajor;
88 
92 @property (readwrite, nonatomic) unsigned long deviceMinor;
93 
98 - (void)makeImmutable;
99 @end
100 
101 OF_ASSUME_NONNULL_END
of_tar_archive_entry_type_t
The type of the archive entry.
Definition: OFTarArchiveEntry.h:27
A class for storing, accessing and comparing dates.
Definition: OFDate.h:36
A class which represents a mutable entry of a tar archive.
Definition: OFMutableTarArchiveEntry.h:27
A class for handling strings.
Definition: OFString.h:132
A class which represents an entry of a tar archive.
Definition: OFTarArchiveEntry.h:53