MCPcopy 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
54function stripOrderingPrefix(segment) {
55 return segment.replace(/^\d{3,6}-/, '');
56}
57
58function normalizeRoute(route) {
59 if (!route) return '/';

Callers 1

defaultRouteFromFileFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…