MCPcopy Create free account
hub / github.com/Snowflyt/tinyeffect / processFile2

Function processFile2

test/README.example.proof.ts:1035–1040  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

1033 );
1034
1035 const processFile2 = (path: string) =>
1036 readFile(path)
1037 .andThen((content) => parseContent(content))
1038 .catchAll((error, message) =>
1039 logger.error(`[${error}Error] Error processing ${path}:`, message).as(null),
1040 );
1041
1042 expect(processFile2).to(
1043 equal<

Callers

nothing calls this directly

Calls 4

parseContentFunction · 0.85
catchAllMethod · 0.65
andThenMethod · 0.65
asMethod · 0.65

Tested by

no test coverage detected