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

Function fromChunk

packages/effect-app/src/Config/internal/configSecretURL.ts:49–51  ·  view source on GitHub ↗
(chunk: Chunk.Chunk<string>)

Source from the content-addressed store, hash-verified

47
48/** @internal */
49export const fromChunk = (chunk: Chunk.Chunk<string>): SecretURL.SecretURL => {
50 return make(Chunk.toReadonlyArray(chunk).map((char) => char.charCodeAt(0)))
51}
52
53/** @internal */
54export const fromString = (text: string): SecretURL.SecretURL => {

Callers 1

secretURL.test.tsFile · 0.50

Calls 2

makeFunction · 0.70
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…