ObjFW
OFMutableArchiveEntry.h
1 /*
2  * Copyright (c) 2008-2024 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 "OFArchiveEntry.h"
17 
18 OF_ASSUME_NONNULL_BEGIN
19 
26 
30 @property (readwrite, copy, nonatomic) OFString *fileName;
31 
35 @property (readwrite, nonatomic) unsigned long long compressedSize;
36 
40 @property (readwrite, nonatomic) unsigned long long uncompressedSize;
41 
42 @optional
46 @property (readwrite, retain, nonatomic) OFDate *modificationDate;
47 
51 @property OF_NULLABLE_PROPERTY (readwrite, copy, nonatomic)
52  OFString *fileComment;
53 
57 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
58  OFNumber *POSIXPermissions;
59 
63 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
64  OFNumber *ownerAccountID;
65 
69 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
70  OFNumber *groupOwnerAccountID;
71 
75 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
76  OFString *ownerAccountName;
77 
81 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
82  OFString *groupOwnerAccountName;
83 @end
84 
85 OF_ASSUME_NONNULL_END
86 
87 #import "OFMutableArchiveEntry.h"
A class which represents an entry in an archive.
Definition: OFArchiveEntry.h:22
A class for storing, accessing and comparing dates.
Definition: OFDate.h:29
A class which represents a mutable entry in an archive.
A class for handling strings.
Definition: OFString.h:134
Provides a way to store a number in an object.
Definition: OFNumber.h:42