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

Method replace

basex-api/src/main/python/BaseXClient/BaseXClient.py:161–163  ·  view source on GitHub ↗

Replaces a resource with the specified input.

(self, path, content)

Source from the content-addressed store, hash-verified

159 self.__send_input(9, path, content)
160
161 def replace(self, path, content):
162 """Replaces a resource with the specified input."""
163 self.__send_input(12, path, content)
164
165 def store(self, path, content):
166 """Stores a binary resource in the opened database.

Callers

nothing calls this directly

Calls 1

__send_inputMethod · 0.95

Tested by

no test coverage detected