isReadWritePermissionSet

fun isReadWritePermissionSet(fileOrDirectory: Path): Boolean
fun isReadWritePermissionSet(fileOrDirectory: String): Boolean
fun isReadWritePermissionSet(fileOrDirectory: File): Boolean

Check the given file or directory for read- and write-permission.

Return

true if both read- and write-permissions are set.

Author

Griefed

Parameters

fileOrDirectory

File or directory.