Chromium Updater
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.1 KiB

13 years ago
  1. //
  2. // MGMFileManager.h
  3. // SoundNote
  4. //
  5. // Created by Mr. Gecko on 1/22/11.
  6. // Copyright (c) 2011 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface NSFileManager (MGMFileManager)
  10. - (BOOL)moveItemAtPath:(NSString *)thePath toPath:(NSString *)theDestination;
  11. - (BOOL)copyItemAtPath:(NSString *)thePath toPath:(NSString *)theDestination;
  12. - (BOOL)removeItemAtPath:(NSString *)thePath;
  13. - (BOOL)linkItemAtPath:(NSString *)thePath toPath:(NSString *)theDestination;
  14. - (BOOL)createDirectoryAtPath:(NSString *)thePath withAttributes:(NSDictionary *)theAttributes;
  15. - (BOOL)createSymbolicLinkAtPath:(NSString *)thePath withDestinationPath:(NSString *)theDestination;
  16. - (NSString *)destinationOfSymbolicLinkAtPath:(NSString *)thePath;
  17. - (NSArray *)contentsOfDirectoryAtPath:(NSString *)thePath;
  18. - (NSDictionary *)attributesOfFileSystemForPath:(NSString *)thePath;
  19. - (void)setAttributes:(NSDictionary *)theAttributes ofItemAtPath:(NSString *)thePath;
  20. - (NSDictionary *)attributesOfItemAtPath:(NSString *)thePath;
  21. @end