MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / pathSegments

Function pathSegments

packages/react/src/routes/plugins.$pluginId.$.tsx:30–33  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

28}
29
30const pathSegments = (input: string): readonly string[] =>
31 normalizePath(input)
32 .split("/")
33 .filter((segment) => segment.length > 0);
34
35export const matchPluginPagePath = (
36 pattern: string,

Callers 3

matchPluginPagePathFunction · 0.85
matchScoreFunction · 0.85
PluginRouteComponentFunction · 0.85

Calls 1

normalizePathFunction · 0.85

Tested by

no test coverage detected