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

Function loadAnnotations

packages/tools/api-diff/src/Annotations.ts:65–72  ·  view source on GitHub ↗
(directory: string)

Source from the content-addressed store, hash-verified

63})
64
65export const loadAnnotations = (directory: string) =>
66 loadAnnotationsInternal(directory).pipe(
67 Effect.mapError((cause) =>
68 isApiDiffError(cause)
69 ? cause
70 : new ApiDiffError({ message: `Could not load annotations from ${directory}`, cause })
71 )
72 )

Callers 2

ApiDiffClass · 0.90

Calls 2

isApiDiffErrorFunction · 0.90
pipeMethod · 0.65

Tested by

no test coverage detected