MCPcopy Create free account
hub / github.com/Effect-TS/effect / tagToPath

Function tagToPath

packages/effect/src/unstable/workflow/WorkflowProxy.ts:166–170  ·  view source on GitHub ↗
(tag: string)

Source from the content-addressed store, hash-verified

164}
165
166const tagToPath = (tag: string): string =>
167 tag
168 // .replace(/[^a-zA-Z0-9]+/g, "-") // Replace non-alphanumeric characters with hyphen
169 // .replace(/([a-z])([A-Z])/g, "$1-$2") // Insert hyphen before uppercase letters
170 .toLowerCase()
171
172/**
173 * Maps each workflow to the HTTP API endpoints generated for execute,

Callers 1

toHttpApiGroupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected