Keine Beschreibung

FKDownloadStore.h 655B

123456789101112131415161718192021222324252627282930
  1. //
  2. // FKDownloadStore.h
  3. // FirstLink
  4. //
  5. // Created by ascii on 16/1/8.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. extern NSString *const REACTNATIVE_DIRECTORY_NAME;
  10. @interface FKDownloadStore : NSObject
  11. + (NSString *)directoryPath:(NSString *)dirName;
  12. + (NSString*)firstFilePathInDirectoryPath:(NSString *)dirPath;
  13. + (BOOL)removeFilesInDirectoryPath:(NSString *)dirPath;
  14. + (BOOL)removeFileAtPath:(NSString *)filePath;
  15. + (BOOL)renameFileAtPath:(NSString *)oldPath toPath:(NSString *)toPath;
  16. + (BOOL)makeDirectory:(NSString *)dirName;
  17. + (NSString *)md5OfFileAtPath:(NSString *)filePath;
  18. @end