mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-25 16:09:44 +00:00
Don't pretend this is async
This commit is contained in:
parent
71b2126eca
commit
f7714a25d1
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ pub trait Fs: Send + Sync {
|
||||||
path: &Path,
|
path: &Path,
|
||||||
latency: Duration,
|
latency: Duration,
|
||||||
) -> Pin<Box<dyn Send + Stream<Item = Vec<fsevent::Event>>>>;
|
) -> Pin<Box<dyn Send + Stream<Item = Vec<fsevent::Event>>>>;
|
||||||
async fn open_repo(&self, abs_dot_git: &Path) -> Option<Box<dyn GitRepository>>;
|
fn open_repo(&self, abs_dot_git: &Path) -> Option<Box<dyn GitRepository>>;
|
||||||
fn is_fake(&self) -> bool;
|
fn is_fake(&self) -> bool;
|
||||||
#[cfg(any(test, feature = "test-support"))]
|
#[cfg(any(test, feature = "test-support"))]
|
||||||
fn as_fake(&self) -> &FakeFs;
|
fn as_fake(&self) -> &FakeFs;
|
||||||
|
|
Loading…
Reference in a new issue