(value: string)
| 29 | } |
| 30 | |
| 31 | function basename(value: string): string { |
| 32 | const normalized = normalizePathLikeLabel(value); |
| 33 | const parts = normalized.split("/").filter(Boolean); |
| 34 | return parts[parts.length - 1] ?? normalized; |
| 35 | } |
| 36 | |
| 37 | export function extractTaskLinkSubpath(linkPath: string | undefined): string | undefined { |
| 38 | if (!linkPath) return undefined; |
no test coverage detected