Index base files (#480)

* Index base files

* Do not index bases content

---------

Co-authored-by: Simon Cambier <simon.cambier@protonmail.com>
This commit is contained in:
Gabriel Azevedo
2025-10-04 04:21:10 -03:00
committed by GitHub
parent efaa3a7a08
commit 320a5420fc
4 changed files with 10 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import { removeAnchors } from './tools/notes'
import type { IndexedDocument } from './globals'
import {
isFileCanvas,
isFileBase,
isFileFromDataloom,
isFileImage,
isFilePDF,
@@ -63,6 +64,7 @@ export class NotesIndexer {
this.canIndexUnsupportedFiles() ||
this.isFilePlaintext(path) ||
isFileCanvas(path) ||
isFileBase(path) ||
isFileFromDataloom(path)
)
}