SNRK-68: Add warning

This commit is contained in:
Kirill Grachev 2023-05-04 21:14:59 +03:00
parent b6db0ba479
commit 4441172ef7

View File

@ -23,6 +23,10 @@ public interface Directory : AutoCloseable {
public suspend fun getSubdir(path: Path): Directory public suspend fun getSubdir(path: Path): Directory
public suspend fun createSubdir(dirname: String, ignoreIfExists: Boolean = false): Directory public suspend fun createSubdir(dirname: String, ignoreIfExists: Boolean = false): Directory
@Deprecated(
message = "Not a good idea",
level = DeprecationLevel.WARNING,
)
public val path: Path public val path: Path
} }