                 
                 do
                 {
-                    if !fileManager.fileExistsAtPath(directoryPath)
+                       if !fileManager.fileExistsAtPath(directoryPath)
                     {
                         try fileManager.createDirectoryAtPath(directoryPath, withIntermediateDirectories: true, attributes: nil)
                     }

        
        private func cachesDirectoryURL() -> NSURL
        {
            guard let directory = NSSearchPathForDirectoriesInDomains(.CachesDirectory, .UserDomainMask, true).first
            else
            {
                fatalError("no cache directories found")
            }
            
            return NSURL(fileURLWithPath: directory)
        }
        
        private func fileURLForKey(key key: String) -> NSURL?

/// Response cache handles the storage of JSON response dictionaries indexed by their associated `Request`.  It contains both memory and disk caching functionality
final internal class ResponseCache
{
    struct Constant
    {
        static let cacheDirectory = "com.vimeo.Caches"
    }
    
    /**
     Stores a response dictionary for a request.
     
