(target: string)
| 30 | } |
| 31 | |
| 32 | export function isPathLikeWikilinkTarget(target: string): boolean { |
| 33 | const trimmed = target.trim() |
| 34 | return trimmed.startsWith('/') || trimmed.includes('/') || /\.md$/i.test(trimmed) |
| 35 | } |
| 36 | |
| 37 | function resolveExplicitPath(notes: RenameNoteRef[], target: string): RenameNoteRef | null { |
| 38 | const normalized = normalizeSlashes(target.trim()) |
no outgoing calls
no test coverage detected