         return url
     }
     
-    fileprivate func persistentStoreURL(forManagedObjectModelName managedObjectModelName: String, applicationName: String) -> URL? {
+    private func persistentStoreURL(forManagedObjectModelName managedObjectModelName: String, applicationName: String) -> URL? {
         guard let applicationSupportURL = FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask).last else {
             return nil
         }

    case invalidName
    case invalidManagedObjectModelURL
    case managedObjectModelNotFound
    case invalidPersistentStoreURL
}



            throw PersistentContainerError.managedObjectModelNotFound
        }
        
        //
        super.init(name: name, managedObjectModel: managedObjectModel)

        //
        let persistentStoreURL = persistentStoreURL ?? type(of: self).defaultDirectoryURL()

        //
        if storageType == .disk {
            let directoryPath = persistentStoreURL.deletingLastPathComponent().path
