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

Method exec

basex-api/src/main/ruby/BaseXClient.rb:172–179  ·  view source on GitHub ↗
(cmd, arg)

Source from the content-addressed store, hash-verified

170 end
171
172 def exec(cmd, arg)
173 @session.send(cmd + arg)
174 s = @session.receive
175 if !@session.ok
176 raise @session.receive
177 end
178 return s
179 end
180 end
181end

Callers

nothing calls this directly

Calls 3

okMethod · 0.65
sendMethod · 0.45
receiveMethod · 0.45

Tested by

no test coverage detected