MCPcopy Create free account
hub / github.com/DragonisCV/RAM / get

Method get

ram/utils/file_client.py:47–52  ·  view source on GitHub ↗
(self, filepath)

Source from the content-addressed store, hash-verified

45 self._mc_buffer = mc.pyvector()
46
47 def get(self, filepath):
48 filepath = str(filepath)
49 import mc
50 self._client.Get(filepath, self._mc_buffer)
51 value_buf = mc.ConvertBuffer(self._mc_buffer)
52 return value_buf
53
54 def get_text(self, filepath):
55 raise NotImplementedError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected