ObjFW
OFMutableArchiveEntry.h
1 /*
2  * Copyright (c) 2008-2023 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 
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)
54 
58 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
60 
64 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
66 
70 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
72 
76 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
78 
82 @property OF_NULLABLE_PROPERTY (readwrite, retain, nonatomic)
84 @end
85 
86 OF_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
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:26
OFString * fileComment
The comment of the entry's file.
Definition: OFMutableArchiveEntry.h:53
OFString * ownerAccountName
The file owner's account name.
Definition: OFMutableArchiveEntry.h:77
unsigned long long uncompressedSize
The uncompressed size of the entry's file.
Definition: OFMutableArchiveEntry.h:41
OFString * fileName
The file name of the entry.
Definition: OFMutableArchiveEntry.h:31
OFString * groupOwnerAccountName
The file owner's group account name.
Definition: OFMutableArchiveEntry.h:83
OFDate * modificationDate
The modification date of the file.
Definition: OFMutableArchiveEntry.h:47
OFNumber * POSIXPermissions
The POSIX permissions of the file.
Definition: OFMutableArchiveEntry.h:59
OFNumber * ownerAccountID
The file owner's account ID.
Definition: OFMutableArchiveEntry.h:65
unsigned long long compressedSize
The compressed size of the entry's file.
Definition: OFMutableArchiveEntry.h:36
OFNumber * groupOwnerAccountID
The file owner's group account ID.
Definition: OFMutableArchiveEntry.h:71
instancetype retain()
Increases the retain count.