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

Function compareToolkitRows

packages/plugins/toolkits/src/page.tsx:170–173  ·  view source on GitHub ↗
(a: ToolkitResponse, b: ToolkitResponse)

Source from the content-addressed store, hash-verified

168const identityPattern = (displayPattern: string): string => displayPattern;
169
170const compareToolkitRows = (a: ToolkitResponse, b: ToolkitResponse): number => {
171 if (a.updatedAt !== b.updatedAt) return b.updatedAt - a.updatedAt;
172 return a.name.localeCompare(b.name);
173};
174
175const toolkitByRouteSlug = (
176 toolkits: readonly ToolkitResponse[],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected