MCPcopy Create free account
hub / github.com/BaseXdb/basex / isHidden

Method isHidden

basex-core/src/main/java/org/basex/io/IOFile.java:401–403  ·  view source on GitHub ↗

Checks if a file is hidden. @return result of check

()

Source from the content-addressed store, hash-verified

399 * @return result of check
400 */
401 public boolean isHidden() {
402 return file.isHidden() || Strings.startsWith(name(), '.') || name().equals("node_modules");
403 }
404
405 /**
406 * Checks if the parent directory of this file can be ignored.

Callers 2

addMethod · 0.95
expandMethod · 0.80

Calls 3

startsWithMethod · 0.95
nameMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected