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

Method isFile

lib/java/io/File.java:818–827  ·  view source on GitHub ↗

Indicates if this file represents a file on the underlying file system. @return true if this file is a file, 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

816 * access to this file.
817 */
818 public boolean isFile() {
819 if (path.length() == 0) {
820 return false;
821 }
822// SecurityManager security = System.getSecurityManager();
823// if (security != null) {
824// security.checkRead(path);
825// }
826 return isFileImpl(properPath(true));
827 }
828
829 private native boolean isFileImpl(byte[] filePath);
830

Callers

nothing calls this directly

Calls 3

isFileImplMethod · 0.95
properPathMethod · 0.95
lengthMethod · 0.65

Tested by

no test coverage detected