MCPcopy Create free account
hub / github.com/CodeForBreakfast/eventsourcing / joinToPath

Function joinToPath

scripts/validate-publish.ts:15–19  ·  view source on GitHub ↗
(basePath: string, ...segments: ReadonlyArray<string>)

Source from the content-addressed store, hash-verified

13const rootDir = resolvePath('..');
14
15const joinToPath = (basePath: string, ...segments: ReadonlyArray<string>) =>
16 pipe(
17 Path.Path,
18 Effect.andThen((path) => path.join(basePath, ...segments))
19 );
20
21const readFileAsString = (filePath: string) =>
22 pipe(

Callers 2

readPackageMetadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected