Skip to content

Commit b80257f

Browse files
committed
add initial implementations
1 parent e8b94e7 commit b80257f

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package io.github.jan.supabase
2+
3+
internal actual val OSInformation: OSInformation
4+
get() = TODO("Not yet implemented")

Supabase/src/linuxMain/kotlin/io/github/jan/supabase/PlatformTarget.linux.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ actual val OSInformation: OSInformation = OSInformation(
77

88
private fun getOSVersion(): String {
99
//Get OS Version, this is from Native Linux code:
10-
KERN
10+
TODO("Not yet implemented")
1111
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package io.github.jan.supabase
2+
3+
actual val OSInformation: OSInformation = OSInformation(
4+
name = "Windows",
5+
version = getOSVersion()
6+
)
7+
8+
private fun getOSVersion(): String {
9+
TODO("Not yet implemented")
10+
}

Supabase/src/wasmJsMain/kotlin/io/github/jan/supabase/PlatformTarget.wasmJs.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ package io.github.jan.supabase
33
/**
44
* The current target platform
55
*/
6-
actual val CurrentPlatformTarget: PlatformTarget = PlatformTarget.WASM_JS
6+
actual val CurrentPlatformTarget: PlatformTarget = PlatformTarget.WASM_JS
7+
8+
internal actual val OSInformation: OSInformation get() = TODO("Not yet implemented")

0 commit comments

Comments
 (0)