9 #import <UIKit/UIKit.h> 26 -(
BOOL)createDirectoryAtPath:(NSString*)path withIntermediateDirectories:(
BOOL)createIntermediates
27 attributes:(NSDictionary*)attributes error:(NSError**)error;
35 -(NSArray*)contentsOfDirectoryAtPath:(NSString*)path error:(NSError**)error;
42 -(NSArray*)subpathsAtPath:(NSString *)path;
50 -(
BOOL)fileExistsAtPath:(NSString*)path;
51 -(
BOOL)fileExistsAtPath:(NSString*)path isDirectory:(
BOOL*)isDirectory;
60 -(
BOOL)setAttributes:(NSDictionary *)attributes ofItemAtPath:(NSString*)path error:(NSError **)error;
68 -(NSDictionary *)attributesOfItemAtPath:(NSString *)path error:(NSError **)error;
76 -(NSData*)readDataAtPath:(NSString*)path error:(NSError**)error;
77 -(NSData*)readDataWithoutEncryptionAtPath:(NSString*)path error:(NSError**)error;
88 -(size_t)readData:(
void*)dataBuf atPath:(NSString*)path offset:(
long)offset
89 length:(
size_t)length error:(NSError**)error;
90 -(size_t)readDataInBuffer:(
void**)dataBuf atPath:(NSString*)path offset:(
long)offset
91 length:(
size_t)length error:(NSError**)error;
100 -(NSInteger)writeData:(NSData*)data atPath:(NSString*)path error:(NSError**)error;
101 -(NSInteger)appendData:(NSData*)data atPath:(NSString*)path error:(NSError**)error;
102 -(NSInteger)writeDataWithoutEncryption:(NSData*)data atPath:(NSString*)path error:(NSError**)error;
111 -(
BOOL)createFileAtPath:(NSString*)path contents:(NSData*)contents attributes:(NSDictionary*)attributes;
118 -(void)writeDictionary:(NSDictionary*)dictionary toFileAtPath:(NSString*)filePath;
125 -(NSDictionary*)dictionaryAtFilePath:(NSString*)filePath;
135 -(NSData*)readDataWithNoProtectionAtPath:(NSString*)path error:(NSError**)error encrypt:(
bool)encrypt;
143 -(NSInteger)writeDataWithNoProtection:(NSData*)data atPath:(NSString*)path error:(NSError**)error encrypt:(
bool)encrypt;
144 -(NSInteger)appendDataWithNoProtection:(NSData*)data atPath:(NSString*)path error:(NSError**)error encrypt:(
bool)encrypt;
152 -(NSOutputStream*)newOutputStreamToFileAtPath:(NSString*)filePath append:(
BOOL)append;
159 -(NSInputStream*)newInputStreamWithFileAtPath:(NSString*)filePath;
168 -(NSInteger)moveItemAtPath:(NSString*)path toPath:(NSString*)toPath error:(NSError**)error;
169 -(NSInteger)copyItemAtPath:(NSString*)path toPath:(NSString*)toPath error:(NSError**)error;
177 -(NSInteger)deleteDataAtPath:(NSString*)path error:(NSError**)error;
178 -(
BOOL)removeItemAtPath:(NSString*)path error:(NSError**)error;
209 -(
long long)decryptDataAtPath:(NSString*)path;
219 -(size_t)incrementalDecryptSoftwareEncryptedDataAtPath:(NSString *)path error:(NSError **)error;
228 - (NSString *) decryptedExternalFileForFileAtPath:(NSString *)encryptedFilePath;
236 - (void) removeDecryptedFileForFile:(NSString *)file;
signed char BOOL
Definition: PDCwtypes.h:101
id< FileManager > fileManager()
Definition: FileManager.h:11
NSString * libraryDirectory()
BOOL isMappedFileSupported()
NSString * documentDirectory()
void waitUntilUnlockOperationIsFinished()
NSString * tempDirectory()
NSString * cachesDirectory()