MCPcopy Create free account
hub / github.com/TheCyaniteProject/exit_code_java / checkPrivate

Method checkPrivate

src/main/java/exitcode/Console.java:312–322  ·  view source on GitHub ↗
(String commandName)

Source from the content-addressed store, hash-verified

310 }
311
312 private boolean checkPrivate(String commandName) {
313 if (this.privateCommands.containsKey(commandName)) {
314 if (this.privateCommands.get(commandName).isDebug()) {
315 return this.isDebug();
316 } else {
317 return true;
318 }
319 } else {
320 return false;
321 }
322 }
323
324 /**
325 * Checks if a Global command exists.

Callers 1

checkCommandMethod · 0.95

Calls 2

isDebugMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected