Remove FileAccess.isHidden method

This commit is contained in:
JeremyStar™ 2024-12-16 02:33:51 +01:00
parent f43f9b6e2e
commit 0f49fff498
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -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.
*