123456789101112131415161718192021222324252627282930 |
- //
- // FKDownloadStore.h
- // FirstLink
- //
- // Created by ascii on 16/1/8.
- // Copyright © 2016年 FirstLink. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- extern NSString *const REACTNATIVE_DIRECTORY_NAME;
- @interface FKDownloadStore : NSObject
- + (NSString *)directoryPath:(NSString *)dirName;
- + (NSString*)firstFilePathInDirectoryPath:(NSString *)dirPath;
- + (BOOL)removeFilesInDirectoryPath:(NSString *)dirPath;
- + (BOOL)removeFileAtPath:(NSString *)filePath;
- + (BOOL)renameFileAtPath:(NSString *)oldPath toPath:(NSString *)toPath;
- + (BOOL)makeDirectory:(NSString *)dirName;
- + (NSString *)md5OfFileAtPath:(NSString *)filePath;
- @end
|