From bc1458955124ce8ef2ae47ec2a21dcf84581bb38 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Wed, 8 Feb 2023 18:12:09 +0700 Subject: [PATCH] =?UTF-8?q?=D1=8D=D1=82=D0=BE=20=D0=BD=D0=B5=20=D0=BD?= =?UTF-8?q?=D1=83=D0=B6=D0=BD=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/ru/dbotthepony/kstarbound/defs/Helpers.kt | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 src/main/kotlin/ru/dbotthepony/kstarbound/defs/Helpers.kt diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/defs/Helpers.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/defs/Helpers.kt deleted file mode 100644 index c2bf8f0c..00000000 --- a/src/main/kotlin/ru/dbotthepony/kstarbound/defs/Helpers.kt +++ /dev/null @@ -1,8 +0,0 @@ -package ru.dbotthepony.kstarbound.defs - -fun ensureAbsolutePath(path: String, parent: String): String { - if (path[0] == '/') - return path - - return "$parent/$path" -}