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

Function loadAnnotations

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

Source from the content-addressed store, hash-verified

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

Callers 2

ApiDiffClass · 0.90

Calls 2

isApiDiffErrorFunction · 0.90
pipeMethod · 0.65

Tested by

no test coverage detected