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

Method version

basex-core/src/main/java/org/basex/query/util/pkg/Pkg.java:97–99  ·  view source on GitHub ↗

Returns the package version. @return version ("-" if this is no EXPath type)

()

Source from the content-addressed store, hash-verified

95 * @return version ("{@code -}" if this is no EXPath type)
96 */
97 public String version() {
98 return type == PkgType.EXPATH ? version : "-";
99 }
100
101 /**
102 * Returns the package type.

Callers 5

addImportMethod · 0.95
valueMethod · 0.45
depPkgMethod · 0.45
tableMethod · 0.45
actionMethod · 0.45

Calls 2

lastIndexOfMethod · 0.80
substringMethod · 0.45

Tested by

no test coverage detected