Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ stripOrderingPrefix
Function
stripOrderingPrefix
docs/scripts/rewrite-doc-links.mjs:54–56 ·
view source on GitHub ↗
(segment)
Source
from the content-addressed store, hash-verified
52
}
53
54
function
stripOrderingPrefix(segment) {
55
return
segment.replace(/^\d{3,6}-/,
''
);
56
}
57
58
function
normalizeRoute(route) {
59
if
(!route)
return
'/'
;
Callers
1
defaultRouteFromFile
Function · 0.85
Calls
1
replace
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…