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)
53 
57 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
59 
63 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
65 
69 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
71 
75 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
77 
81 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
83 @end
84 
85 OF_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
A class which represents an entry in an archive.
Definition: OFArchiveEntry.h:29
A class which represents a mutable entry in an archive.
Definition: OFMutableArchiveEntry.h:25
OFString * fileComment
The comment of the entry's file.
Definition: OFMutableArchiveEntry.h:52
OFString * ownerAccountName
The file owner's account name.
Definition: OFMutableArchiveEntry.h:76
unsigned long long uncompressedSize
The uncompressed size of the entry's file.
Definition: OFMutableArchiveEntry.h:40
OFString * fileName
The file name of the entry.
Definition: OFMutableArchiveEntry.h:30
OFString * groupOwnerAccountName
The file owner's group account name.
Definition: OFMutableArchiveEntry.h:82
OFDate * modificationDate
The modification date of the file.
Definition: OFMutableArchiveEntry.h:46
OFNumber * POSIXPermissions
The POSIX permissions of the file.
Definition: OFMutableArchiveEntry.h:58
OFNumber * ownerAccountID
The file owner's account ID.
Definition: OFMutableArchiveEntry.h:64
unsigned long long compressedSize
The compressed size of the entry's file.
Definition: OFMutableArchiveEntry.h:35
OFNumber * groupOwnerAccountID
The file owner's group account ID.
Definition: OFMutableArchiveEntry.h:70
instancetype retain()
Increases the retain count.