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

Method get

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

Source from the content-addressed store, hash-verified

59 """Raw hard disks storage backend."""
60
61 def get(self, filepath):
62 filepath = str(filepath)
63 with open(filepath, 'rb') as f:
64 value_buf = f.read()
65 return value_buf
66
67 def get_text(self, filepath):
68 filepath = str(filepath)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected