Skip to content

Commit 6596964

Browse files
committed
Cleanup
1 parent 1914297 commit 6596964

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/common/src/files/Paths.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public expect val SystemPathSeparator: Char
7575
public expect fun Path(path: String): Path
7676

7777
/**
78-
* Returns Path for the given [base] path concatenated with [parts] using [Path.separator].
78+
* Returns Path for the given [base] path concatenated with [parts] using [SystemPathSeparator].
7979
*/
8080
public fun Path(base: String, vararg parts: String): Path {
8181
return Path(buildString {
@@ -90,7 +90,7 @@ public fun Path(base: String, vararg parts: String): Path {
9090
}
9191

9292
/**
93-
* Returns Path for the given [base] path concatenated with [parts] using [Path.separator].
93+
* Returns Path for the given [base] path concatenated with [parts] using [SystemPathSeparator].
9494
*/
9595
public fun Path(base: Path, vararg parts: String): Path {
9696
return Path(base.toString(), *parts)

core/native/src/files/PathsNative.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENCE file.
44
*/
55

6-
@file:OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)
6+
@file:OptIn(ExperimentalForeignApi::class)
77

88
package kotlinx.io.files
99

0 commit comments

Comments
 (0)