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
25@protocol OFMutableArchiveEntry <OFArchiveEntry>
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
85OF_ASSUME_NONNULL_END
86
87#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