You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/CodableDatastore/Persistence/Disk Persistence/Snapshot/Snapshot.swift
+34-3Lines changed: 34 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,36 @@ extension Snapshot {
162
162
163
163
letfileManager=FileManager()
164
164
165
-
/// Start by deleting and pruning roots as needed.
165
+
/// Start by deleting and pruning roots as needed. We attempt to do this twice, as older versions of the persistence (prior to 0.4) didn't record the datastore ID along with the root id, which would therefor require extra work.
166
+
/// First, delete the root entries we know to be removed.
0 commit comments