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

Method isHidden

lib/java/io/File.java:843–852  ·  view source on GitHub ↗

Returns whether or not this file is a hidden file as defined by the operating system. The notion of "hidden" is system-dependent. For Unix systems a file is considered hidden if its name starts with a ".". For Windows systems there is an explicit flag in the file system for this purpose. @return {@

()

Source from the content-addressed store, hash-verified

841 * access to this file.
842 */
843 public boolean isHidden() {
844 if (path.length() == 0) {
845 return false;
846 }
847// SecurityManager security = System.getSecurityManager();
848// if (security != null) {
849// security.checkRead(path);
850// }
851 return isHiddenImpl(properPath(true));
852 }
853
854 private native boolean isHiddenImpl(byte[] filePath);
855

Callers

nothing calls this directly

Calls 3

isHiddenImplMethod · 0.95
properPathMethod · 0.95
lengthMethod · 0.65

Tested by

no test coverage detected