Renamed CacheManager to DocumentsRepository

This commit is contained in:
Simon Cambier
2024-10-13 18:16:25 +02:00
parent 4ed3b4d612
commit fc19f96dfd
4 changed files with 21 additions and 23 deletions

View File

@@ -26,7 +26,7 @@ export class NotesIndexer {
public async refreshIndex(): Promise<void> {
for (const file of this.notesToReindex) {
logDebug('Updating file', file.path)
await this.plugin.cacheManager.addToLiveCache(file.path)
await this.plugin.documentsRepository.addDocument(file.path)
}
const paths = [...this.notesToReindex].map(n => n.path)