MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / getPathDisplayName

Function getPathDisplayName

src/ui/taskCardProperties.ts:98–100  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

96}
97
98function getPathDisplayName(path: string): string {
99 return path.split("/").pop()?.replace(/\.md$/i, "") || path;
100}
101
102function getDependencyDisplayLink(
103 value: unknown,

Callers 1

getDependencyDisplayLinkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected