FilePreseedManager
public class FilePreseedManager : PreseedStrategy
Default strategy that:
1) calls onStorePreseedingWillBegin(at:)
2) wipes the entire seed folder
3) copies <resourceName>.<resourceExtension>
4) calls onStorePreseedingCompleted(at:)
5) writes back dbVersion
-
Declaration
Swift
public init(fileManager: FileManaging = FileManager.default)Parameters
fileManagerTest‐injectable; default =
FileManager.default -
Declaration
Swift
public func apply(to store: PersistenceStore, with config: PreseedConfiguration, spaceType: SyncSpacePersistable.Type) throws
View on GitHub
FilePreseedManager Class Reference