-
Notifications
You must be signed in to change notification settings - Fork 0
/
XeeFSRef.h
54 lines (40 loc) · 1.06 KB
/
XeeFSRef.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#import <Cocoa/Cocoa.h>
@interface XeeFSRef:NSObject <NSCopying>
{
FSRef ref;
FSIterator iterator;
int hash;
}
+(XeeFSRef *)refForPath:(NSString *)path;
-(id)initWithPath:(NSString *)path;
-(id)initWithFSRef:(FSRef *)fsref;
-(FSRef *)FSRef;
-(BOOL)isValid;
-(BOOL)isDirectory;
-(BOOL)isRemote;
-(NSString *)name;
-(NSString *)path;
-(NSURL *)URL;
-(XeeFSRef *)parent;
-(off_t)dataSize;
-(off_t)dataPhysicalSize;
-(off_t)resourceSize;
-(off_t)resourcePhysicalSize;
-(CFAbsoluteTime)creationTime;
-(CFAbsoluteTime)modificationTime;
-(CFAbsoluteTime)attributeModificationTime;
-(CFAbsoluteTime)accessTime;
-(CFAbsoluteTime)backupTime;
-(NSString *)HFSTypeCode;
-(NSString *)HFSCreatorCode;
-(BOOL)startReadingDirectoryWithRecursion:(BOOL)recursive;
-(void)stopReadingDirectory;
-(XeeFSRef *)nextDirectoryEntry;
-(NSArray *)directoryContents;
-(BOOL)isEqual:(XeeFSRef *)other;
-(NSComparisonResult)compare:(XeeFSRef *)other;
-(NSComparisonResult)compare:(XeeFSRef *)other options:(int)options;
-(unsigned)hash;
-(NSString *)description;
-(id)copyWithZone:(NSZone *)zone;
@end