1
2
3
4
5
6
7
8
9
|
/*
* Copyright (c) 2008-2023 Jonathan Schleifer <js@nil.im>
*
* All rights reserved.
*
* This file is part of ObjFW. It may be distributed under the terms of the
* Q Public License 1.0, which can be found in the file LICENSE.QPL included in
* the packaging of this file.
*
|
|
|
1
2
3
4
5
6
7
8
9
|
/*
* Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im>
*
* All rights reserved.
*
* This file is part of ObjFW. It may be distributed under the terms of the
* Q Public License 1.0, which can be found in the file LICENSE.QPL included in
* the packaging of this file.
*
|
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
{
self = [super init];
@try {
_type = OFTarArchiveEntryTypeFile;
_POSIXPermissions =
[[OFNumber alloc] initWithUnsignedShort: 0644];
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
|
>
|
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
{
self = [super init];
@try {
_type = OFTarArchiveEntryTypeFile;
_POSIXPermissions =
[[OFNumber alloc] initWithUnsignedShort: 0644];
_modificationDate = [[OFDate alloc] init];
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
|