pub fn path(&self) -> &Path {
        unsafe {
            util::bytes2path(crate::opt_bytes(self, raw::git_worktree_path(self.raw)).unwrap())
        }
    }
/// Retrieves the path to the worktree
///
/// This is the path to the top-level of the source and not the path to the
/// .git file within the worktree. This path can be passed to
/// repo::Repository::open.
Retrieves the path to the worktree
This is the path to the top-level of the source and not the path to the
.git file within the worktree. This path can be passed to
repo::Repository::open.
Retrieves the path to the worktree This is the path to the top - level of the source and not the path to the . git file within the worktree . This path can be passed to repo :: Repository :: open .
pub fn path(&self) -> &Path {
        unsafe {
            util::bytes2path(crate::opt_bytes(self, raw::git_worktree_path(self.raw)).unwrap())
        }
    }
pub fn path ( & self ) -> & Path { unsafe { util :: bytes2path ( crate :: opt_bytes ( self , raw :: git_worktree_path ( self . raw ) ) . unwrap ( ) ) } }
Retrieves the path to the worktree
This is the path to the top-level of the source and not the path to the
.git file within the worktree.
Retrieves the path to the worktree This is the path to the top - level of the source and not the path to the . git file within the worktree .
&self
&self