Move Path extensions to the new package kotlin.io.path

This avoids the conflict with the existing top-level functions in
kotlin.io package.

#KT-19192
This commit is contained in:
Ilya Gorbunov
2020-10-12 06:04:55 +03:00
parent 7d58a5e2f2
commit 997cd35e06
5 changed files with 5 additions and 6 deletions
@@ -6,9 +6,8 @@
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER", "RedundantVisibilityModifier", "RedundantUnitReturnType", "SameParameterValue")
@file:JvmMultifileClass
@file:JvmName("PathsKt")
@file:kotlin.jvm.JvmPackageName("kotlin.io.jdk7")
package kotlin.io
package kotlin.io.path
import java.io.*
import java.nio.charset.Charset
@@ -6,9 +6,8 @@
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER", "RedundantVisibilityModifier")
@file:JvmMultifileClass
@file:JvmName("PathsKt")
@file:kotlin.jvm.JvmPackageName("kotlin.io.jdk7")
package kotlin.io
package kotlin.io.path
import java.io.IOException
import java.nio.file.*