From 4441172ef782b01061741e7f9c60a6871a02b870 Mon Sep 17 00:00:00 2001 From: Kirill Grachev Date: Thu, 4 May 2023 21:14:59 +0300 Subject: [PATCH] SNRK-68: Add warning --- .../src/main/kotlin/space/kscience/snark/storage/Driver.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snark-storage-driver/src/main/kotlin/space/kscience/snark/storage/Driver.kt b/snark-storage-driver/src/main/kotlin/space/kscience/snark/storage/Driver.kt index 58870d3..eaa3e6f 100644 --- a/snark-storage-driver/src/main/kotlin/space/kscience/snark/storage/Driver.kt +++ b/snark-storage-driver/src/main/kotlin/space/kscience/snark/storage/Driver.kt @@ -23,6 +23,10 @@ public interface Directory : AutoCloseable { public suspend fun getSubdir(path: Path): Directory public suspend fun createSubdir(dirname: String, ignoreIfExists: Boolean = false): Directory + @Deprecated( + message = "Not a good idea", + level = DeprecationLevel.WARNING, + ) public val path: Path }