MCPcopy Create free account
hub / github.com/contentlayerdev/contentlayer / provideCwdCustom

Function provideCwdCustom

packages/@contentlayer/core/src/cwd.ts:22–22  ·  view source on GitHub ↗
(cwd: AbsolutePosixFilePath)

Source from the content-addressed store, hash-verified

20export const provideCwd = T.provideServiceM(Cwd)(makeCwd)
21
22export const provideCwdCustom = (cwd: AbsolutePosixFilePath) => T.provideService(Cwd)({ cwd } as const)
23
24export const getCwd = T.accessService(Cwd)((_) => _.cwd)
25

Callers 2

runMainFunction · 0.90
dynamicBuildMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…