createPlainPreferencesDataStore

fun createPlainPreferencesDataStore(producePath: () -> Path, migrations: List<DataMigration<Preferences>> = emptyList(), corruptionHandler: ReplaceFileCorruptionHandler<Preferences>? = null): DataStore<Preferences>

Plain (unencrypted) Preferences DataStore on a file path. Path must end with .preferences_pb. Readable without a Cipher.