Optimize glob filtering of semantic search
Co-authored-by: Kyle <kyle@zed.dev>
This commit is contained in:
parent
e02d6bc0d4
commit
81b05f2a08
4 changed files with 109 additions and 63 deletions
|
@ -11,7 +11,7 @@ use anyhow::{anyhow, Result};
|
|||
use db::VectorDatabase;
|
||||
use embedding::{EmbeddingProvider, OpenAIEmbeddings};
|
||||
use futures::{channel::oneshot, Future};
|
||||
use globset::{Glob, GlobMatcher};
|
||||
use globset::GlobMatcher;
|
||||
use gpui::{AppContext, AsyncAppContext, Entity, ModelContext, ModelHandle, Task, WeakModelHandle};
|
||||
use language::{Anchor, Buffer, Language, LanguageRegistry};
|
||||
use parking_lot::Mutex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue