summaryrefslogtreecommitdiff
path: root/QSFoundation.framework/Versions/A/PrivateHeaders/NSFileManager_BLTRExtensions.h
blob: e41f509dd1dcf6f824c64cc6f887f0d0eb3be680 (plain)
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
//
//  NSFileManager_CarbonExtensions.h
//  Quicksilver
//
//  Created by Alcor on Thu Apr 03 2003.
//  Copyright (c) 2003 Blacktree, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
NSString *QSUTIOfFile(NSString *path);
NSString *QSUTIWithLSInfoRec(NSString *path,LSItemInfoRecord *infoRec);

@interface NSFileManager (Carbon)
- (bool) isVisible:(NSString *)chem;
- (BOOL)movePathToTrash:(NSString *)filepath;

@end

@interface NSFileManager (Scanning)
- (NSString *)resolveAliasAtPath:(NSString *)aliasFullPath;
- (NSString *)resolveAliasAtPathWithUI:(NSString *)aliasFullPath;
- (NSString *)typeOfFile:(NSString *)path;
- (NSArray *) itemsForPath:(NSString *)path depth:(int)depth types:(NSArray *)types;
- (NSDate *) modifiedDate:(NSString *)path depth:(int)depth;
- (NSDate *)pastOnlyModifiedDate:(NSString *)path;
- (NSDate *)path:(NSString *)path wasModifiedAfter:(NSDate *)date depth:(int)depth;
- (NSString *)fullyResolvedPathForPath:(NSString *)sourcePath;
- (NSString *)UTIOfFile:(NSString *)path;
@end

@interface NSFileManager (BLTRExtensions)
- (int)defaultDragOperationForMovingPaths:(NSArray *)sources toDestination:(NSString *)destination;
    
- (BOOL)createDirectoriesForPath:(NSString *)path;
- (BOOL)filesExistAtPaths:(NSArray *)paths;
- (NSDictionary *)conflictsForFiles:(NSArray *)files inDestination:(NSString *)destination;
@end