MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / ply_storage_get_root

Function ply_storage_get_root

js/storage.js:77–83  ·  view source on GitHub ↗
(storage_id)

Source from the content-addressed store, hash-verified

75}
76
77function ply_storage_get_root(storage_id) {
78 var root = ply_storage_roots[storage_id];
79 if (!root) {
80 throw new Error("Invalid storage handle");
81 }
82 return root;
83}
84
85function ply_storage_new(root_path_obj) {
86 var op_id = ply_storage_next_op_id();

Callers 4

ply_storage_save_bytesFunction · 0.85
ply_storage_load_bytesFunction · 0.85
ply_storage_removeFunction · 0.85
ply_storage_exportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected