(path: string)
| 445 | } |
| 446 | |
| 447 | private getFrontmatterForPath(path: string): Record<string, unknown> | null { |
| 448 | const file = this.app.vault.getAbstractFileByPath(path); |
| 449 | if (!(file instanceof TFile)) { |
| 450 | return null; |
| 451 | } |
| 452 | |
| 453 | return this.getFrontmatterFromCache(this.app.metadataCache.getFileCache(file)); |
| 454 | } |
| 455 | |
| 456 | private createFilterIndexEntry( |
| 457 | path: string, |
no test coverage detected