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

Method script

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

Returns the base URI and the contents for the specified command script. @param input input @return return input path and content @throws IOException I/O exception

(final String input)

Source from the content-addressed store, hash-verified

160 * @throws IOException I/O exception
161 */
162 protected static Entry<String, String> script(final String input) throws IOException {
163 final IO io = IO.get(input);
164 return new SimpleEntry<>(io.path(), io.readString());
165 }
166
167 /**
168 * Indicates if the specified string points to an existing file.

Callers 4

commandsMethod · 0.95
parseArgsMethod · 0.80
BaseXMethod · 0.80
parseArgsMethod · 0.80

Calls 3

getMethod · 0.95
pathMethod · 0.95
readStringMethod · 0.95

Tested by

no test coverage detected