MCPcopy Create free account
hub / github.com/effect-app/libs / isFullSha

Function isFullSha

packages/cli/src/sync-effect-app-subtree.ts:51–51  ·  view source on GitHub ↗
(ref: string)

Source from the content-addressed store, hash-verified

49}
50
51const isFullSha = (ref: string) => /^[0-9a-f]{40}$/i.test(ref)
52
53const resolveRequestedRef = (ref: string) => ref === "latest" ? "main" : ref
54

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…