Fix adding new git repos to a project (#24471)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2025-02-07 20:08:09 +00:00
committed by GitHub
parent ead5a836a1
commit 7148092e12
3 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ impl<T: AsRef<Path>> PathExt for T {
/// leverages Rust's type system to ensure that all paths entering Zed are always "sanitized" by removing the `\\\\?\\` prefix.
/// On non-Windows operating systems, this struct is effectively a no-op.
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct SanitizedPath(Arc<Path>);
pub struct SanitizedPath(pub Arc<Path>);
impl SanitizedPath {
pub fn starts_with(&self, prefix: &SanitizedPath) -> bool {