 
         return nil
     }
+
     private func savePath(name: String ) -> String {
         return directory.path.stringByAppendingPathComponent(name.escape())
     }

            }
        }
    }

}

        }

        var path: String {
            let cacheDirectory = NSSearchPathForDirectoriesInDomains(.CachesDirectory, .UserDomainMask, true)[0] as String
            let directoryName = "swift.imageloader.diskcached"

            return cacheDirectory.stringByAppendingPathComponent(directoryName)
        }
    }
    let directory = Directory()

    private let _queue = dispatch_queue_create("swift.imageloader.queues.diskcached", DISPATCH_QUEUE_SERIAL)
}

// MARK: accessor
