pub fn package_graph_at(&self, commit_ref: &GitHash) -> Result<PackageGraph> {
        // Create or initialize the scratch worktree.
        let scratch = self.get_or_init_scratch(commit_ref)?;

        // Compute the package graph for the scratch worktree.
        MetadataCommand::new()
            .current_dir(scratch)
            .build_graph()
            .map_err(|err| SystemError::guppy("building package graph", err))
    }
/// Returns a package graph for the given commit, using a scratch repo if necessary.
Returns a package graph for the given commit, using a scratch repo if necessary.
Returns a package graph for the given commit using a scratch repo if necessary .
pub fn package_graph_at(&self, commit_ref: &GitHash) -> Result<PackageGraph> {
        // Create or initialize the scratch worktree.
        let scratch = self.get_or_init_scratch(commit_ref)?;
        // Compute the package graph for the scratch worktree.
        MetadataCommand::new()
            .current_dir(scratch)
            .build_graph()
            .map_err(|err| SystemError::guppy("building package graph", err))
    }
pub fn package_graph_at ( & self , commit_ref : & GitHash ) -> Result < PackageGraph > { // Create or initialize the scratch worktree. let scratch = self . get_or_init_scratch ( commit_ref ) ? ; // Compute the package graph for the scratch worktree. MetadataCommand :: new ( ) . current_dir ( scratch ) . build_graph ( ) . map_err ( | err | SystemError :: guppy ( " " , err ) ) }
Returns a package graph for the given commit, using a scratch repo if necessary.
Returns a package graph for the given commit using a scratch repo if necessary .
&self
commit_ref
&GitHash