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

Method dir

basex-core/src/main/java/org/basex/data/MetaData.java:277–279  ·  view source on GitHub ↗

Returns a directory with file resources. @param type resource type @return directory, or null for XML type or if this is a main-memory database

(final ResourceType type)

Source from the content-addressed store, hash-verified

275 * @return directory, or {@code null} for XML type or if this is a main-memory database
276 */
277 public IOFile dir(final ResourceType type) {
278 return dir == null ? null : type.dir(dir);
279 }
280
281 /**
282 * Returns the resource with the specified path.

Callers 5

listMethod · 0.95
optimizeAllMethod · 0.95
fileMethod · 0.95
getMethod · 0.95
valueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected