478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
|
attributes.fileOwnerAccountID];
entry.GID = [OFNumber numberWithUnsignedLong:
attributes.fileGroupOwnerAccountID];
entry.owner = attributes.fileOwnerAccountName;
entry.group = attributes.fileGroupOwnerAccountName;
#endif
if ([type isEqual: OFFileTypeDirectory])
entry.compressionMethod = @"-lhd-";
output = [_archive streamForWritingEntry: entry];
if ([type isEqual: OFFileTypeRegular]) {
unsigned long long written = 0;
unsigned long long size = attributes.fileSize;
int8_t percent = -1, newPercent;
|
|
>
>
>
>
>
|
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
|
attributes.fileOwnerAccountID];
entry.GID = [OFNumber numberWithUnsignedLong:
attributes.fileGroupOwnerAccountID];
entry.owner = attributes.fileOwnerAccountName;
entry.group = attributes.fileGroupOwnerAccountName;
#endif
if ([type isEqual: OFFileTypeDirectory]) {
entry.compressionMethod = @"-lhd-";
if (![entry.fileName hasSuffix: @"/"])
entry.fileName = [entry.fileName
stringByAppendingString: @"/"];
}
output = [_archive streamForWritingEntry: entry];
if ([type isEqual: OFFileTypeRegular]) {
unsigned long long written = 0;
unsigned long long size = attributes.fileSize;
int8_t percent = -1, newPercent;
|