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

Method commands

basex-core/src/main/java/org/basex/core/CLI.java:152–154  ·  view source on GitHub ↗

Returns the base URI and the query string for the specified command input. @param input command string or command script reference @return return base URI and query string @throws IOException I/O exception

(final String input)

Source from the content-addressed store, hash-verified

150 * @throws IOException I/O exception
151 */
152 protected static Entry<String, String> commands(final String input) throws IOException {
153 return isFile(input) ? script(input) : new SimpleEntry<>("", input);
154 }
155
156 /**
157 * Returns the base URI and the contents for the specified command script.

Callers

nothing calls this directly

Calls 2

isFileMethod · 0.95
scriptMethod · 0.95

Tested by

no test coverage detected