Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jeromegn/Backbone.localStorage
/ guid
Function
guid
src/utils.js:14–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
* @returns {string} A GUID-like string.
13
*/
14
export
function
guid() {
15
return
`${s4()}${s4()}-${s4()}-${s4()}-${s4()}-${s4()}${s4()}${s4()}`;
16
}
17
18
19
/** Returns the localStorage attribute
for
a model
Callers
1
create
Method · 0.90
Calls
1
s4
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…