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

Function buildIdentifier

packages/effect/src/SemVer.ts:142–147  ·  view source on GitHub ↗
(identifier: string)

Source from the content-addressed store, hash-verified

140}
141
142const buildIdentifier = (identifier: string): string => {
143 if (!identifierPattern.test(identifier)) {
144 return invalid(`build identifier must be non-empty [0-9A-Za-z-], received ${JSON.stringify(identifier)}`)
145 }
146 return identifier
147}
148
149/** @internal */
150export type Core = Pick<SemVer, "major" | "minor" | "patch" | "prerelease">

Callers

nothing calls this directly

Calls 1

invalidFunction · 0.70

Tested by

no test coverage detected