MCPcopy
hub / github.com/nbubna/store / save

Function save

test/store_test.js:52–55  ·  view source on GitHub ↗
(key, val, s)

Source from the content-addressed store, hash-verified

50 ((s || store).get(key), expect, "get '"+key+"'");
51 }
52 function save(key, val, s) {
53 noval((s || store)(key, val), "save value for '"+key+"'");
54 get(key, val, s);
55 }
56 function add(key, val, expect, s) {
57 (s || store).add(key, val);
58 get(key, expect, s);

Callers 1

store_test.jsFile · 0.85

Calls 2

novalFunction · 0.85
getFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…