Skip to content

Commit

Permalink
clean up iOS placeholder files
Browse files Browse the repository at this point in the history
  • Loading branch information
crc-32 committed Nov 11, 2024
1 parent 74e174a commit 55a4aaa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,4 @@ import androidx.room.RoomDatabaseConstructor

actual fun getDatabaseBuilder(): RoomDatabase.Builder<AppDatabase> {
TODO("Not yet implemented")
}

actual object AppDatabaseConstructor : RoomDatabaseConstructor<AppDatabase> {
override fun initialize(): AppDatabase {
TODO("Not yet implemented")
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ package io.rebble.cobble.shared.datastore

import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import kotlinx.cinterop.ExperimentalForeignApi
import platform.Foundation.NSDocumentDirectory
import platform.Foundation.NSFileManager
import platform.Foundation.NSURL
import platform.Foundation.NSUserDomainMask

@OptIn(ExperimentalForeignApi::class)
fun createDataStore(): DataStore<Preferences> = createDataStore(
producePath = {
val documentDirectory: NSURL? = NSFileManager.defaultManager.URLForDirectory(
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
package io.rebble.cobble.shared.util

import io.ktor.utils.io.ByteReadChannel

actual class File actual constructor(uri: String) {
actual fun exists(): Boolean {
TODO("Not yet implemented")
}

actual fun readChannel(): ByteReadChannel {
TODO("Not yet implemented")
}
}

0 comments on commit 55a4aaa

Please sign in to comment.