Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EvoMap/evolver
/ withComputedAssetId
Function
withComputedAssetId
test/cliContracts.test.js:97–101 ·
view source on GitHub ↗
(asset)
Source
from the content-addressed store, hash-verified
95
}
96
97
function
withComputedAssetId(asset) {
98
const
copy = Object.assign({}, asset);
99
copy.asset_id = computeAssetId(copy);
100
return
copy;
101
}
102
103
function
fakeStore(records) {
104
const
writes = [];
Callers
1
cliContracts.test.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected