forked from StarOpenSource/Engine
Remove FileAccess.isHidden method
This commit is contained in:
parent
f43f9b6e2e
commit
0f49fff498
1 changed files with 0 additions and 17 deletions
|
@ -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.
|
* Returns if this file can be read from.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue