MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / runtimeNodeId

Function runtimeNodeId

src/api/TaskNotesAPI.ts:3330–3332  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

3328}
3329
3330function runtimeNodeId(path: string): string {
3331 return `runtime:${path.replace(/[^a-z0-9._-]+/giu, "-")}`;
3332}
3333
3334function isDefined<T>(value: T | null | undefined): value is T {
3335 return value !== null && typeof value !== "undefined";

Calls

no outgoing calls

Tested by

no test coverage detected