MCPcopy Create free account
hub / github.com/davidgiven/luje / isDirectory

Method isDirectory

lib/java/io/File.java:796–805  ·  view source on GitHub ↗

Indicates if this file represents a directory on the underlying file system. @return true if this file is a directory, false otherwise. @throws SecurityException if a SecurityManager is installed and it denies read access to this file

()

Source from the content-addressed store, hash-verified

794 * access to this file.
795 */
796 public boolean isDirectory() {
797 if (path.length() == 0) {
798 return false;
799 }
800// SecurityManager security = System.getSecurityManager();
801// if (security != null) {
802// security.checkRead(path);
803// }
804 return isDirectoryImpl(properPath(true));
805 }
806
807 private native boolean isDirectoryImpl(byte[] filePath);
808

Callers 1

getAbsoluteNameMethod · 0.95

Calls 3

isDirectoryImplMethod · 0.95
properPathMethod · 0.95
lengthMethod · 0.65

Tested by

no test coverage detected