mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-15 21:32:10 +01:00
cleanup
This commit is contained in:
1 parent
1ea9ad7c4a
commit
13093d72d4
51 files changed
+1083
-243
No files matched your search
@@ -236,7 +236,7 @@ public final class SQLiteStore: LocalStorage {
|
||||
@_spi(Internals)
|
||||
public func cs_finalizeStorageAndWait(
|
||||
soureModelHint: NSManagedObjectModel
|
||||
) throws(any Swift.Error) {
|
||||
) throws(any Swift::Error) {
|
||||
|
||||
_ = try withExtendedLifetime(NSPersistentStoreCoordinator(managedObjectModel: soureModelHint)) { (coordinator: NSPersistentStoreCoordinator) in
|
||||
|
||||
@@ -259,12 +259,12 @@ public final class SQLiteStore: LocalStorage {
|
||||
public func cs_eraseStorageAndWait(
|
||||
metadata: [String: Any],
|
||||
soureModelHint: NSManagedObjectModel?
|
||||
) throws(any Swift.Error) {
|
||||
) throws(any Swift::Error) {
|
||||
|
||||
func deleteFiles(
|
||||
storeURL: URL,
|
||||
extraFiles: [String] = []
|
||||
) throws(any Swift.Error) {
|
||||
) throws(any Swift::Error) {
|
||||
|
||||
let fileManager = FileManager.default
|
||||
let extraFiles: [String] = [
|
||||
|
||||
Reference in new issue
Block a user