mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-25 09:25:53 +00:00
24 lines
610 B
Objective-C
24 lines
610 B
Objective-C
//
|
|
// XAttrSet.h
|
|
// Backup
|
|
//
|
|
// Created by Stefan Reitshamer on 4/27/09.
|
|
// Copyright 2009 PhotoMinds LLC. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "Blob.h"
|
|
#import "BufferedInputStream.h"
|
|
|
|
@interface XAttrSet : NSObject {
|
|
NSMutableDictionary *xattrs;
|
|
NSString *path;
|
|
}
|
|
- (id)initWithPath:(NSString *)thePath error:(NSError **)error;
|
|
- (id)initWithBufferedInputStream:(BufferedInputStream *)is error:(NSError **)error;
|
|
- (NSData *)toData;
|
|
- (NSUInteger)count;
|
|
- (unsigned long long)dataLength;
|
|
- (NSArray *)names;
|
|
- (BOOL)applyToFile:(NSString *)path error:(NSError **)error;
|
|
@end
|