Enabled support and tests for creation of intermediate directories during RKCache initialization. closes #667

This commit is contained in:
Blake Watters
2012-04-17 23:23:41 -04:00
parent 4ac6a76485
commit f0793b8e19
3 changed files with 39 additions and 1 deletions

View File

@@ -45,7 +45,7 @@
if (!fileExists) {
NSError* error = nil;
BOOL created = [fileManager createDirectoryAtPath:path
withIntermediateDirectories:NO
withIntermediateDirectories:YES
attributes:nil
error:&error];
if (!created || error != nil) {