* Extract the basename from a project string, handling wikilink format * Examples: * - "[[projects/testContext/testProject/testProject Root]]" -> "testProject Root" * - "[[path|display text]]" -> "display text" * - "simple string" -> "simple string"
(project: string)
| 1965 | * - "simple string" -> "simple string" |
| 1966 | */ |
| 1967 | private extractProjectBasename(project: string): string { |
| 1968 | return getProjectDisplayName(project, this.plugin.app); |
| 1969 | } |
| 1970 | |
| 1971 | private extractProjectFilePath(project: string): string { |
| 1972 | const linkPath = parseLinkToPath(project); |
no test coverage detected