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

Method resolve

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

Resolves two paths. @param path file path (relative or absolute) @return resulting path

(final String path)

Source from the content-addressed store, hash-verified

187 * @return resulting path
188 */
189 public IOFile resolve(final String path) {
190 final IOFile f = new IOFile(path);
191 return f.absolute ? f : new IOFile(isDir() ? pth : dir(), path);
192 }
193
194 /**
195 * Recursively creates the directory if it does not exist yet.

Callers 2

exportMethod · 0.95
executeMethod · 0.95

Calls 2

isDirMethod · 0.95
dirMethod · 0.45

Tested by

no test coverage detected