ObjFW
Loading...
Searching...
No Matches
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
18OF_ASSUME_NONNULL_BEGIN
19
26@protocol OFMutableArchiveEntry <OFArchiveEntry>
27
31@property (readwrite, copy, nonatomic) OFString *fileName;
32
36@property (readwrite, nonatomic) unsigned long long compressedSize;
37
41@property (readwrite, nonatomic) unsigned long long uncompressedSize;
42
43@optional
47@property (readwrite, retain, nonatomic) OFDate *modificationDate;
48
52@property OF_NULLABLE_PROPERTY (readwrite, copy, nonatomic)
53 OFString *fileComment;
54
58@property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
59 OFNumber *POSIXPermissions;
60
64@property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
65 OFNumber *ownerAccountID;
66
70@property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
71 OFNumber *groupOwnerAccountID;
72
76@property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
77 OFString *ownerAccountName;
78
82@property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
83 OFString *groupOwnerAccountName;
84@end
85
86OF_ASSUME_NONNULL_END
87
88#import "OFMutableArchiveEntry.h"
A class for storing, accessing and comparing dates.
Definition OFDate.h:30
Provides a way to store a number in an object.
Definition OFNumber.h:43
A class for handling strings.
Definition OFString.h:135