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

Method isDir

basex-core/src/main/java/org/basex/io/IO.java:171–173  ·  view source on GitHub ↗

Tests if this is a local directory instance, or if the path ends with a slash. @return result of check

()

Source from the content-addressed store, hash-verified

169 * @return result of check
170 */
171 public boolean isDir() {
172 return Strings.endsWith(pth, '/');
173 }
174
175 /**
176 * Tests if this is an absolute path.

Callers 15

isFileMethod · 0.95
buildMethod · 0.95
runMethod · 0.95
createMethod · 0.95
toBinarySourceMethod · 0.95
toIOMethod · 0.95
evalMethod · 0.95
ErrorInfoMethod · 0.95
fillXmlInputMethod · 0.95
actionMethod · 0.95
setTypeMethod · 0.95
parseMethod · 0.45

Calls 1

endsWithMethod · 0.95

Tested by

no test coverage detected