Sync config with ssh remotes (#17349)

Release Notes:

- N/A

---------

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Conrad Irwin
2024-09-04 11:28:51 -07:00
committed by GitHub
co-authored by Mikayla
parent 4b094798e0
commit 7fb94c4c4d
13 changed files with 609 additions and 193 deletions
+4
View File
@@ -983,6 +983,10 @@ impl Worktree {
}
impl LocalWorktree {
pub fn fs(&self) -> &Arc<dyn Fs> {
&self.fs
}
pub fn contains_abs_path(&self, path: &Path) -> bool {
path.starts_with(&self.abs_path)
}