MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / makeLogSink

Function makeLogSink

packages/node/src/dev/hotStateReload.ts:231–236  ·  view source on GitHub ↗
(
  log: ((event: HotStateReloadLogEvent) => void) | undefined,
)

Source from the content-addressed store, hash-verified

229}
230
231function makeLogSink(
232 log: ((event: HotStateReloadLogEvent) => void) | undefined,
233): (event: HotStateReloadLogEvent) => void {
234 if (typeof log === "function") return log;
235 return () => {};
236}
237
238function toWatchDirectory(pathLike: string): string {
239 try {

Callers 1

createHotStateReloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected