From 0f49fff498baa1fe034dac7a25fde05d784e357f Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 16 Dec 2024 02:33:51 +0100 Subject: [PATCH] Remove FileAccess.isHidden method --- .../engine/base/utility/FileAccess.kt | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/base/src/main/kotlin/de/staropensource/engine/base/utility/FileAccess.kt b/base/src/main/kotlin/de/staropensource/engine/base/utility/FileAccess.kt index d66e646cc..f9641adf6 100644 --- a/base/src/main/kotlin/de/staropensource/engine/base/utility/FileAccess.kt +++ b/base/src/main/kotlin/de/staropensource/engine/base/utility/FileAccess.kt @@ -376,23 +376,6 @@ class FileAccess { } } - /** - * Returns if this file or - * directory is hidden. - * - * @return is hidden? - * @throws IOAccessException on IO error - * @since v1-alpha10 - */ - @Throws(IOAccessException::class) - fun isHidden(): Boolean { - try { - return Files.isHidden(path) - } catch (exception: Exception) { - throw IOAccessException("Checking if '${unformatFromPath(path)}' is hidden failed", exception) - } - } - /** * Returns if this file can be read from. *