2011-02-01 09:51:02 -06:00
|
|
|
//
|
|
|
|
// MGMFileManager.h
|
2011-12-04 16:57:04 -06:00
|
|
|
// SoundNote
|
2011-02-01 09:51:02 -06:00
|
|
|
//
|
2011-02-02 14:58:24 -06:00
|
|
|
// Created by Mr. Gecko on 1/22/11.
|
2011-02-01 09:51:02 -06:00
|
|
|
// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
|
|
|
|
//
|
|
|
|
|
2011-12-04 16:57:04 -06:00
|
|
|
#import <Foundation/Foundation.h>
|
2011-02-01 09:51:02 -06:00
|
|
|
|
|
|
|
@interface NSFileManager (MGMFileManager)
|
|
|
|
- (BOOL)moveItemAtPath:(NSString *)thePath toPath:(NSString *)theDestination;
|
|
|
|
- (BOOL)copyItemAtPath:(NSString *)thePath toPath:(NSString *)theDestination;
|
|
|
|
- (BOOL)removeItemAtPath:(NSString *)thePath;
|
|
|
|
- (BOOL)linkItemAtPath:(NSString *)thePath toPath:(NSString *)theDestination;
|
2011-12-04 16:57:04 -06:00
|
|
|
- (BOOL)createDirectoryAtPath:(NSString *)thePath withAttributes:(NSDictionary *)theAttributes;
|
2011-02-01 09:51:02 -06:00
|
|
|
- (BOOL)createSymbolicLinkAtPath:(NSString *)thePath withDestinationPath:(NSString *)theDestination;
|
|
|
|
- (NSString *)destinationOfSymbolicLinkAtPath:(NSString *)thePath;
|
|
|
|
- (NSArray *)contentsOfDirectoryAtPath:(NSString *)thePath;
|
|
|
|
- (NSDictionary *)attributesOfFileSystemForPath:(NSString *)thePath;
|
|
|
|
- (void)setAttributes:(NSDictionary *)theAttributes ofItemAtPath:(NSString *)thePath;
|
|
|
|
- (NSDictionary *)attributesOfItemAtPath:(NSString *)thePath;
|
|
|
|
@end
|